Sunday, 15 September 2013

Net::SSH does not seem to connect to remote host

Net::SSH does not seem to connect to remote host

Net::SSH.start('remotehost', 'ava') do |ssh|
puts `hostname`
end
It prints the name of current hostname rather than remote hostname. What
is wrong?

No comments:

Post a Comment