tags:

views:

8

answers:

0

HI ALL , i am getting this error while ploying net/ssh in ruby this is my code

require 'rubygems'

require 'net/ssh'

HOST = '192.118.217.17'

USER = 'dvsdkval'

PASS = 'dvsdkval'

Net::SSH.start( HOST, USER, :password => PASS ) do|ssh|

result = ssh.exec!('ls')

puts result

end