The Correct Syntax (straight from the RDocs) is :

  Net::SSH.start("host", "user", :password => "password") do |ssh|
    result = ssh.exec!("ls -l")
    puts result
  end

(you send the username as a parameter, password should be part of the
options hash.)

-- Lee Hambley

Twitter: @leehambley | @capistranorb

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to