# How to - SSH in Ruby

**URL:** <https://www.ruby-forum.com/t/how-to-ssh-in-ruby/120649>\
**Category:** Ruby\
**Created:** [November 19, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/how-to-ssh-in-ruby/120649 "2007-11-19T15:22:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arindam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/41988e/32.png) [@arindam](https://www.ruby-forum.com/u/arindam)\
**Post date:** [November 19, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/how-to-ssh-in-ruby/120649/1 "2007-11-19T15:22:53Z")

</div>

Hi,

I want to write some code to ssh to a linux machine, and then enter some  
commands and transfer a file. Is there any class in ruby for SSH, like  
the class for Telnet?

Thanks

---

<div class="post-metadata">

**Author:** ![arindam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/41988e/32.png) [@arindam](https://www.ruby-forum.com/u/arindam)\
**Post date:** [November 19, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/how-to-ssh-in-ruby/120649/2 "2007-11-19T15:42:15Z")

</div>

net/ssh or vlad

On Nov 19, 2007 7:52 PM, Arindam G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> 

–  
Let them talk of their oriental summer climes of everlasting  
conservatories; give me the privilege of making my own summer with my  
own coals.

[http://gnufied.org](http://gnufied.org)

---

<div class="post-metadata">

**Author:** ![arindam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/41988e/32.png) [@arindam](https://www.ruby-forum.com/u/arindam)\
**Post date:** [November 19, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/how-to-ssh-in-ruby/120649/3 "2007-11-19T16:11:45Z")

</div>

On Mon, 19 Nov 2007 09:22:51 -0500, Arindam G. wrote:

> Hi,
> 
> I want to write some code to ssh to a linux machine, and then enter some  
> commands and transfer a file. Is there any class in ruby for SSH, like  
> the class for Telnet?

[http://raa.ruby-lang.org/search.rhtml?search=ssh](http://raa.ruby-lang.org/search.rhtml?search=ssh)

–Ken
