# File lib/capistrano/ssh.rb, line 33 def self.connect(server, options={}) connection_strategy(server, options) do |host, user, connection_options| connection = Net::SSH.start(host, user, connection_options) Server.apply_to(connection, server) end end