Vamos tentar!
Shell foi alterado no servidor:
[myserver ~]% getent passwd myuser
myuser:x:150:150:myuser:/home/myuser:/foo
Vamos entrar:
[myclient ~]% ssh myserver
Received disconnect from myserver: 2: Too many authentication failures for myuser
Dos registros SSH no servidor:
Nov 22 09:30:27 myserver sshd[20719]: Accepted gssapi-with-mic for myuser from myclient port 33808 ssh2
Nov 22 09:30:27 myserver sshd[20719]: pam_unix(sshd:session): session opened for user myuser by (uid=0)
Nov 22 09:31:18 myserver sshd[20727]: Received disconnect from myclient: 11: disconnected by user
Nov 22 09:31:18 myserver sshd[20719]: pam_unix(sshd:session): session closed for user myuser
Nov 22 09:31:20 myserver sshd[20828]: User myuser not allowed because shell /foo does not exist
Nov 22 09:31:20 myserver sshd[20835]: input_userauth_request: invalid user myuser
Nov 22 09:31:20 myserver sshd[20835]: Disconnecting: Too many authentication failures for myuser
Linha chave: User myuser not allowed because shell /foo does not exist
. Então você não pode entrar se não tiver um conjunto de shell válido.