Displaying 3 results from an estimated 3 matches for "toggle_ssh".
2009 Jul 21
0
[PATCH node] Adds a new kernel cmdline argument to toggle SSH password auth.
...intf "\nSSH password authentication is currently ${state}.\n\n"
-
- PS3="Please select an option: "
- select option in "$PASSWORD" "$SSH" "$QUIT"
- do
- case $option in
- $PASSWORD) set_password; break;;
- $SSH) toggle_ssh; break;;
- $QUIT) exit;;
- esac
+if [[ "$1" == "AUTO" ]]; then
+ toggle_ssh_access $OVIRT_SSH
+else
+ while true; do
+ state="disabled"
+ /usr/bin/augtool get /files/etc/ssh/sshd_config/PasswordAuthentication|grep -q yes$
+ if [ $? == 0 ]; then...
2009 Jul 22
1
Updated patch...
This patch obsoletes the previous, renaming the karg to ssh_pwauth.
2009 Jul 22
1
Changes the ssh karg to ssh_pwauth
This patch obsoletes the previous one with feedback from pmyers at redhat.com.