Displaying 1 result from an estimated 1 matches for "ovirt_ssh".
2009 Jul 21
0
[PATCH node] Adds a new kernel cmdline argument to toggle SSH password auth.
...ption 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
+ state="enabled"
+ fi
+ printf "\nSSH password authentication is currently ${state}.\n\n"
+
+ PS3="...