pageant is Putty's version of an ssh keyring. It runs as a process and
references whatever private keys it has loaded when ssh needs to
authenticate a connection. Sounds like Net::SSH is trying to contact pageant
but pageant isn't running.
You need to make sure it is loaded and whatever private key is needed is
loaded into pageant.
I am trying to get an ssh session started with
- 1.0.2 of net/ssh
- ruby 1.8.2 (2004-12-25) [i386-mswin32]
and get an exception:
irb(main):004:0> s = Net::SSH.start( 'my_host.com', 'user', 'pw )
Net::SSH::Exception: pageant process not running
from
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/userauth/pageant.rb
:112:in `in
itialize'
from c:/ruby/lib/ruby/1.8/dl/import.rb:174:in `new'
from c:/ruby/lib/ruby/1.8/dl/import.rb:174:in `new'
Any idea what I am doing wrong? Am I missing some library? I installed
net-ssh as a gem with no errors.
Since I did not want to use private/public keys, I just had to explicitly
specify :auth_methods to #start.
Cheers!
pageant is Putty's version of an ssh keyring. It runs as a process and
references whatever private keys it has loaded when ssh needs to
authenticate a connection. Sounds like Net::SSH is trying to contact
pageant
but pageant isn't running.
You need to make sure it is loaded and whatever private key is needed is
loaded into pageant.
Hope this helps.
From: itsme213 [mailto:itsme213@hotmail.com]
Sent: Wednesday, September 28, 2005 10:22 AM
To: ruby-talk@ruby-lang.org
Subject: net/ssh question
I am trying to get an ssh session started with
- 1.0.2 of net/ssh
- ruby 1.8.2 (2004-12-25) [i386-mswin32]
and get an exception:
irb(main):004:0> s = Net::SSH.start( 'my_host.com', 'user', 'pw )
Net::SSH::Exception: pageant process not running
from