ssh
Quoting from the ssh README file:
Ssh (Secure Shell) is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over unsecure channels. It is intended as a replacement for rlogin, rsh, and rcp. Additionally, ssh provides secure X connections and secure forwarding of arbitrary TCP connections.
You'll find a lot of information in the SSH Frequently Asked Questions
There are currently two versions of the ssh protocol, 1 and 2. Version 2 is newer but its license is a lot more restrictive so I would not recommend it. All ccrma hosts currently run version 1 of the ssh procotol. The creator of SSH has now formed a commercial company (SSH Communications Security), and provides commercial clients for most platforms.
Unix
You can download the unix version source code (I would recommend 1.2.26) from ftp://ftp.cs.hut.fi/pub/ssh/. ssh-1.2.26 compiles out of the box on most unix systems (including linux). Get the .tar.gz package, uncompress and untar it and follow the installation instructions. If you are in the USA you will need to get and compile the rsaref2 library to run ssh legally within the USA. There are some Linux RedHat RPM packages available but I have not tested or installed them myself (please note that there are different packages for use within the USA).
Windows
TeraTerm Pro has a freely available ssh extension that you can download and install in your Windows machine.
Mac
Nifty Telnet has a version that includes the ssh protocol. This package cannot be used legally within the USA due to a patent conflict on the RSA public-key encryption algorithm. Affected users may want to try the commercial F-Secure SSH from Data Fellows, Inc instead.
Usage
This is a very short description on how to use the unix version of the ssh package commands. Do a "man command" in a terminal to see the complete manual page for each command.
- slogin
- slogin [-l login_name] hostname
"slogin host" will establish a secure connection to the selected host (slogin is analogous to the insecure rlogin command). The password will be encrypted as well as the session itself. If the remote account name is different from the local account name, you will need to type "slogin -l name host" where "name" is the name of the remote account and "host" is the name of the computer.
- ssh
- ssh [-l login_name] hostname [command]
"ssh host command" will establish a secure connection to the remote host and execute the specified unix command (ssh is analogous to the insecure rsh command). If the remote account name is different from the local account name, you will need to type "ssh -l name host command" where "name" is the name of the remote account, "host" is the name of the computer and "command" is a unix command.
- scp
- scp [[user@]host1:]filename1... [[user@]host2:]filename2
Scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh. Unlike rcp, scp will ask for passwords or passphrases if they are needed for authentication. Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted. If the source path is a directory the "-r" option can be specified to do a recursive copy of all contained files and directories. The "-p" option will preserve modification times, access times, and modes from the original file.
©1996-2000 CCRMA, Stanford University. All rights reserved.
|