Class: Net::SSH::Authentication::Methods::Publickey

Class | Net::SSH::Authentication::Methods::Publickey
In: | lib/net/ssh/authentication/methods/publickey.rb
Parent: | Abstract

Implements the "publickey" SSH authentication method.

### Methods

authenticate

### Public Instance methods

authenticate(next_service, username, password=nil)

Attempts to perform public-key authentication for the given username, trying each identity known to the key manager. If any of them succeed, returns `true`, otherwise returns `false`. This requires the presence of a key manager.

[Validate]