Problem: How to remove annoying S/Key prompt from ssh login. Example below:
>ssh goldberg
otp-md5 370 go7860 ext
S/Key Password:
otp-md5 154 go0658 ext
S/Key Password:
otp-md5 157 go7847 ext
S/Key Password:
ott@goldberg.cs.unc.edu's password:
Solution: As follows.
1. Uncomment this line in /etc/ssh/sshd_config.
ChallengeResponseAuthentication no
2. Get sshd process id:
> ps aux | grep sshd
root 115 0.0 0.1 2596 524 ?? Is Fri06PM 0:01.96 /usr/sbin/sshd
root 45727 0.0 0.2 3048 1844 ?? I 9:57AM 0:02.19 sshd: clark@ttyp2 (sshd)
root 49695 0.0 0.1 2700 1544 ?? S 1:36PM 0:00.09 sshd: ott@ttypc (sshd)
3. As root, send SIGHUP signal to running sshd process.
> kill -s HUP 115
D. Ott 3/25