Can't connect to remote hosts after configuring google-authenticator with SSH
Posted: 2018/07/21 02:06:07
I wanted to test google-authenticator on my workstation before using it elsewhere. Everything works great, when connecting to my workstation remotely. Unfortunately, when I'm sitting at my workstation trying to ssh to my servers or use scp, I get an error message.
/etc/ssh/ssh_config: line 69: Bad configuration option: authenticationmethods
/etc/ssh/ssh_config: terminating, 1 bad configuration options
This corresponds to this line in /etc/ssh/sshd_config
# Change to no to disable s/key passwords
ChallengeResponseAuthentication yes
#ChallengeResponseAuthentication no <-----Line 69
I tried to uncomment it and comment the line above it, restart sshd.service, and the same error message comes up.
I tried googling and I haven't found anything yet. Any help would be greatly appreciated!
/etc/ssh/ssh_config: line 69: Bad configuration option: authenticationmethods
/etc/ssh/ssh_config: terminating, 1 bad configuration options
This corresponds to this line in /etc/ssh/sshd_config
# Change to no to disable s/key passwords
ChallengeResponseAuthentication yes
#ChallengeResponseAuthentication no <-----Line 69
I tried to uncomment it and comment the line above it, restart sshd.service, and the same error message comes up.
I tried googling and I haven't found anything yet. Any help would be greatly appreciated!