Bare with me here as I am very new to all of this.
I’m trying to write a simple script with the SSH gem and when I run it
in the terminal I get this message.
./ssh_restart.rb:3:in `require’: no such file to load – net/ssh
Here is the code:
Net::SSH.start(‘10.0.1.200’, ‘Administrator’, ‘pw’) do |ssh|
Dir.foreach(’.’) do |file|
What am I doing wrong?