Relative Content

Tag Archive for rubyauthenticationprivate-keyopensshnet-ssh

Ruby’s Net::SSH is limited to 3 authentication tries while OpenSSH client is not

I’m having a really weird problem where when I connect to an SSH server (that has a pretty standard default configuration, including a default MaxAuthTries of 6) using Net::SSH, the connection fails after 3 authentication attempts with a disconnected: Too many authentication failures (2) (Net::SSH::Disconnect) exception while the OpenSSH command line client connects fine.