Class Net::SSH::AuthenticationFailed

  1. lib/net/ssh/errors.rb

This exception is raised when authentication fails (whether it be public key authentication, password authentication, or whatever).