From: Ad Ad Date: 2009-05-16T04:09:40+09:00 Subject: Net::SSH to login into a server with a public key Hi, I have a remote server B which can only accessed via server A through a public key. Is there a way to do this in net/ssh ? I have started an SSH session for A Net::SSH.start("ServerA","username",:password=>"xyz") do |ssh| #is there a way to now login into B? #In putty I just do: ssh B and I am in end thanks. -- Posted via http://www.ruby-forum.com/.