How to use SSH from the cmd line in Ruby?

From: mbass@rolemodelsoft.com [mailto:mbass@rolemodelsoft.com]
Sent: Friday, June 21, 2002 12:09 PM
To: ruby-talk@ruby-lang.org
Subject: How to use SSH from the cmd line in Ruby?

And the SSH program should then exit. I want to be able to send
commands to SSH (run at a command prompt) and receive commands from
SSH programmatically through Ruby.

You could do it this way via ‘expect’, though that module is still a bit
young.

Regards,

Dan

···

-----Original Message-----