From: Jean-eric Godard Date: 2010-12-20T16:40:26+09:00 Subject: Re: Please help with NET::SSH Many thanks for your reply. Unfortunately I have little computer programming knowledge. I try to do what you write and send the follwing commands: Net::SSH.start( HOST, USER, :password => PASS ) do|ssh| ssh.exec('/bin/sh') ssh.exec('cd Desktop') ssh.exec('ls') end and other syntax like this Net::SSH.start( HOST, USER, :password => PASS ) do|ssh| ssh.exec('exec /bin/sh') ssh.exec('cd Desktop') ssh.exec('ls') end but nothing works please how can I send these magic commands. Best regards -- Posted via http://www.ruby-forum.com/.