1. Home
  2. Computing & Technology
  3. Ruby

SSH (Secure Shell)

SSH (or "Secure Shell") is a network protocol that allows you to exchange data with a remote host over an encrypted channel.

The SSH (Secure Shell) Protocol

Net::SSH is a way for Ruby to interact with SSH (Secure Shell) protocol. It relies on the OpenSSL library for encryption.

Net::SSH Classes--Interfacing With the Net::SSH Library

The Net::SSH library contains handy abstractions for most common tasks so you don't always have to think about channels. However, to get the most out of the library, you'll have to learn about channels.

Net:SSH--Executing Programs with Net::SSH

Running programs with Net::SSH is simple enough. The Session object gives you two convenient methods with which to accomplish this task.

Net:SSH--Transferring Files with Net::SCP

SSH is not just for running commands, it's a general conduit for encrypted communications between two hosts. One common use for SSH is to transfer files using the SCP protocol over SSH. You can use SCP in your Ruby programs with the Net::SCP library, which is a supplement to Net::SSH.
Explore Ruby
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Networking
  5. SSH

©2009 About.com, a part of The New York Times Company.

All rights reserved.