How to use SSH from the cmd line in Ruby?


(Berger, Daniel) #1

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-----