|
Secure Remote Login to Athena |
|
A free version of SSH is available for most Unix platforms; there are commercial and shareware versions for Mac and PC. Alternatively, if your browser includes Java support, you can use MindTerm SSH to connect to athena.dialup.mit.edu securely without installing an SSH client on your machine (please use this page instead if you are using Netscape on a Macintosh); Netscape version 4.06 or higher is recommended for best results. For more information on SSH including links to download sites see our SSH Overview.
Generally, ssh involves users generating public/private key pairs and using them to authenticate, but the default behavior on Athena is to use either Kerberos authentication (with forwardable tickets), or simple password authentication. The reason for this is that you need to get Kerberos tickets to be able to do things like read your files and incorporate your mail, and you can't get tickets on the remote machine without either forwarding them from the machine you're already logged in to, or typing your password.
If you have forwardable Kerberos tickets on your machine (the default in Athena 8.2 and later), then ssh will use them to authenticate you and log you in. If you don't, it will fall back to password authentication (ssh always encrypts your connection, including any password you type).
Note that the first time you connect to a machine, ssh will ask you
whether to accept the host key before it connects and adds the public
key to your ~/.ssh/known_hosts file; for details on the
security concerns
involved and information about verifying the key, see the last section
of the Athena Dialup
SSH page. (If you are connecting to a private Athena workstation,
you can view its public key in /etc/ssh_host_key.pub.)
ssh athena.dialup.mit.edu
To specify your Athena username (necessary if it is different from your
username on the local machine), use the flag -l (lowercase "L") followed
by your Athena username:
ssh athena.dialup.mit.edu -l jqpublic
The first time you connect, you will see:
Host key not found from the list of known hosts.
Are you sure you want to continue connecting (yes/no)?
Type `yes'. It will respond:
Host 'athena.dialup.mit.edu' added to the list of known hosts.
jqpublic's password:
Type your password now (ssh always encrypts your
connection, so it's safe to type it here). You should then see the
usual login sequence, culminating in your favorite prompt:
athena%
To connect from Athena to a machine running SSH, you'd start similarly:
athena% ssh hostname -l username
where hostname is the full address of the machine you're
connecting to, and username is your username on that machine,
if different from your Athena username.
If you see an "X11 forwarding error" when you connect, it probably means your ssh client tried to arrange for X connections to go through the encrypted ssh channel, but the remote machine refuses (e.g., because it is a non-X dialup).
See the OLC stock answer on running X Windows remotely for detailed instructions on setting up remote display.
|
|
Comments and feedback to olh-suggest@mit.edu
|