--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Attempts to perform public-key authentication for the given username, trying each identity known to the key manager. If any of them succeed, returns <tt>true</tt>, otherwise returns <tt>false</tt>. This requires the presence of a key manager.
full_name: Net::SSH::Authentication::Methods::Publickey#authenticate
is_singleton: false
name: authenticate
params: (next_service, username, password=nil)
visibility: public
