What follows is not a “how to”, but rather more of a “cheat sheat”…
- SSH (“Secure SHell”) is a multiplatform protocol that can be used to securely connect one computer to another.
- Ubuntu comes with the SHH Client software already installed. So accessing another Computer that is acting as SSH Server is strait forward. The Ubuntu documentation on using, configuring, installing the SSH Server is excellent – start with the Introduction located at https://help.ubuntu.com/community/SSH.
- Configuing the SSH Server is accomplished by editing the /etc/ssh/sshd_config file on the Server machine.
- Configuring the SSH Client (for example to match the Port Number used by the SSH Server) is accomplished by editing /etc/ssh/ssh_config on the Client machine.
- Additional resources: http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/
- Typical SSH commands are:
- To verify that the SSH client is working on your local machine, open a terminal session and type:
ssh -v
- To verify connectivity with a SSH Server, open a terminal session and type:
ssh -l username machinename -p nnnn
- To verify that the SSH client is working on your local machine, open a terminal session and type: