Net::SSH is a pure-Ruby implementation of the SSH2 client protocol, allowing Ruby scripts to interact with remote processes via SSH.
Version 1.0.3 is a windows-specific maintenance release that (hopefully) fixes the problem with connections failing if the PuTTy pageant process is not running.
You can install it via rubygems (gem install net-ssh) or grab a tarball or zip file from http://rubyforge.org/projects/net-ssh.
Documentation is available at http://net-ssh.rubyforge.org.
- Jamis
Jamis,
I'm excited to play with this module! But I get a weird error. I'm sure my system is missing a dependency--I installed this from the tar.bz2 file. Can you eyeball this crash and tell me what I'm missing?
thanks!
-dB
dbrady@trousers:~$ irb
irb(main):001:0> require 'net/ssh'
LoadError: No such file to load -- needle
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh/session.rb:17:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh/session.rb:17
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh.rb:17:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh.rb:17
from (irb):1:in `require'
from (irb):1
My installation process was:
tar -jxvf net-ssh-1.0.3.tar.bz2
cd net-ssh-1.0.3
sudo ruby setup.rb config
sudo ruby setup.rb install
thanks again,
-dB
···
--
David Brady
ruby_talk@shinybit.com
C++ Guru. Ruby nuby. Apply salt as needed.
Ah, if you install it manually, you'll also need to download and install needle:
http://rubyforge.org/projects/needle
- Jamis
···
On Nov 9, 2005, at 7:43 PM, David Brady wrote:
Jamis,
I'm excited to play with this module! But I get a weird error. I'm sure my system is missing a dependency--I installed this from the tar.bz2 file. Can you eyeball this crash and tell me what I'm missing?
thanks!
-dB
dbrady@trousers:~$ irb
irb(main):001:0> require 'net/ssh'
LoadError: No such file to load -- needle
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh/session.rb:17:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh/session.rb:17
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh.rb:17:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/net/ssh.rb:17
from (irb):1:in `require'
from (irb):1
My installation process was:
tar -jxvf net-ssh-1.0.3.tar.bz2
cd net-ssh-1.0.3
sudo ruby setup.rb config
sudo ruby setup.rb install
thanks again,
-dB
--
David Brady
ruby_talk@shinybit.com
C++ Guru. Ruby nuby. Apply salt as needed.