Skip to content
phaus edited this page Mar 29, 2012 · 7 revisions

ssh user@[unauthed_host] -o PasswordAuthentication=no Permission denied (publickey,password). echo $? 255

ssh user@[unauthed_host] -qo PasswordAuthentication=no echo 0 || echo 1 1 ssh user@[authed_host] -qo PasswordAuthentication=no echo 0 || echo 1 0

Clone this wiki locally