From: Biff Tannen on 22 Apr 2010 20:11
Tench Johnson wrote:
> i can't get my head around this:
> Net::SSH.start("url.i.need.com", 'root', :keys => ["/path/to/keyfile"],
> :verbose => Logger::DEBUG ) do |ssh|
> ssh.exec!("mount /persistent")
> gives me failed authetification and
> E, [2010-02-19T20:38:31.198582 #1494] ERROR --
> net.ssh.authentication.session[80c6f360]: all authorization methods
> failed (tried publickey, hostbased, password, keyboard-interactive)
> but i can easily do
> ssh -i /path/to/keyfile root(a)url.i.need.com
> and i log in without a glitch.
> any idea what could be going wrong here? many thanks in advance.
I am seeing the same issue. Does anyone know how to resolve this?
Posted via http://www.ruby-forum.com/.