Remote Connections to and from DAMTP

The Secure Shell (SSH) networking protocol should always be used for communications between DAMTP systems and external networks. SSH software encrypts traffic to prevent sensitive information, especially passwords, from being read by others, and can also ensure that the computer you are connecting to is not an imposter waiting to steal your login password or other confidential information.

Protocols such as telnet which transmit passwords in clear may not be used to connect to DAMTP systems because of the danger that someone snooping traffic on a insecure remote system may discover your password and then use your DAMTP account to cause mayhem. For the same reason you should never set a login password on a remote computer to be the same as your DAMTP password in case it gets discovered in a breach of security on the remote system.

Connecting to DAMTP from outside

Connecting from DAMTP

To connect from DAMTP to a remote site using ssh:

    ssh remote-login-name@remotesite

If your computer is running an X server you can run X applications like emacs or xterm on the remote computer with:

    ssh -X remote-login-name@remotesite

This sets up a tunnel to carry the X display traffic securely over the Internet for display on your computer.

Newer versions of the ssh clients change -X to mean something sligthly different, and add a new option -Y which has the old behaviour. See the Openssh FAQ 3.13 for details.

Note that depending on the configuration of the ssh server at the remote site, X-forwarding may not be permitted at all.

If the remote site does not offer an SSH service you may be able to connect using the insecure telnet protocol:


	telnet -l remote-login-name remotesite

Though these days very few sites will permit telnet.