22.2.06
OpenSSH Headache
Another chapter of stupid failures...
Publickey authentication does not work anymore...therefore:
Debugging OpenSSH with Level 3:
# ssh -vvv user@hostname
.
.
.
debug2: we sent a publickey packet, wait for reply
...
debug2: we did not send a packet, disable method
.
.
.
Client debugging shows no useful information...
After using snoop, dtrace and other debugging tools without any real hints, I finally found the reason, using sshd in debugging mode. Important detail: without the option -e, the failure can not be found. This was the reason for loosing a lot of time, because I tried the command already in an early debugging phase, without the option -e.
# sshd -ddd -e
.
.
.
User user not allowed because account is locked
.
.
.
Ahah. The user was locked...This was again a problem that would normally have been solved in a couple of minutes...
Technorati Tags: SSH
Publickey authentication does not work anymore...therefore:
Debugging OpenSSH with Level 3:
# ssh -vvv user@hostname
.
.
.
debug2: we sent a publickey packet, wait for reply
...
debug2: we did not send a packet, disable method
.
.
.
Client debugging shows no useful information...
After using snoop, dtrace and other debugging tools without any real hints, I finally found the reason, using sshd in debugging mode. Important detail: without the option -e, the failure can not be found. This was the reason for loosing a lot of time, because I tried the command already in an early debugging phase, without the option -e.
# sshd -ddd -e
.
.
.
User user not allowed because account is locked
.
.
.
Ahah. The user was locked...This was again a problem that would normally have been solved in a couple of minutes...
Technorati Tags: SSH