Getting Started with SSH

James F. Carter <jimc@math.ucla.edu>, 2005-04-28

UCLA-Math/PIC uses OpenSSH v3.9p1 on Linux (currently) and OpenSSH v3.2.3p1 on Solaris. Here's a brief overview of how to get started using SSH. You should also review the man page for ssh, though it's not as warm and fuzzy as this document :-)

What you get from SSH: Data transmitted over the encrypted connection is essentially invulnerable to prying eyes. This means that when you give your password to the remote system, various lowlife who snoop your packets will not be able to steal it. You can then get a remote shell session (command line), and you can forward X-Windows and other ports over the encrypted channel.

Essentially invulnerable means that it's comonly believed that if they were really, really motivated, the National Security Agency could crack a SSH session key within a year, if they didn't do any other cryptographic cracking during that time, devoting all resources to you. This would give them access to up to an hour of one of your sessions, provided all packets were recorded. The exact number of CPUs, hours and dollars required is hard to estimate, but is outrageously in excess of any credible threat to you.

Mathnet would like all passwords, or other sensitive data such as student records, to be sent from off-campus over an encrypted channel. It is reasonable and not burdensome to the computers if communications within Mathnet are also encrypted. In other words, you can set up and learn one set of procedures which you use both at home and at work.

You can install the software and use it just like Windows Terminal or UNIX Telnet, giving your password each time you connect, and most users will choose this mode of operation. However, power users will want to set up the single sign-on paradigm of SSH, in which you unlock your secret key once, and all remote systems can then be assured that you are really you, without further password entry.

To set up SSH on UNIX/Linux: This is the simplest case to describe. The examples are phrased assuming you are originating the SSH connection from a home Linux box into Mathnet.