Secure Shell and Secure Copy

(replacement for telnet and ftp)

In order to help prevent unauthorized access to the biochem servers we have placed all secured computers behind a firewall and replaced insecure programs such as telnet and ftp with encryted versions that do not transmit passwords in the open. ssh (secure shell) and scp (secure copy) tunnel all tcp/ip communication through an encrypted channel to prevent unauthorized packet-tapping of legitimate connections.

In order for you to access a secured machine, your local computer will have to have the client versions of ssh and scp installed. This document explains what steps need to be taken to install the necessary software on your system.

Access from Linux and unix systems.

If you use Linux computers to interface with the secured biochemistry servers, you can use the following syntax on your local computer to connect:

ssh:

ssh biochem.uthscsa.edu -l username
or:
ssh username@biochem.uthscsa.edu
scp:
scp localfile username@biochem.uthscsa.edu:.
Note: Copies localfile to your home directory of biochem. The period at the end is part of the syntax. It means to write the file by the same name as that being copied. Inside the uthscsa.edu domain you can omit the domain name (.uthscsa.edu) from the syntax)
scp text.txt username@biochem:public_html/.
Note: Copies the file to subdirectory public_html
scp text.txt username@biochem:newname.html
Note: Copies and renames the file.
scp text*.* username@biochem:.
Note: Copies all files described by the wild cards.
scp path/text.txt username@biochem:.
Note: Uses path descriptor to get the file from a directory other than the default directory.
scp username@biochem:*.html .
Note: Retrieves files *.html from your biochem root and puts them in the default directory. The <space> <period> after the html specifies the destination as the default directory and the filename to be written as the same as the one being read. Alternatively give a path and or a new filename.
scp -r directory username@biochem.uthscsa.edu:public_html/.
Note: Recursively copies directory with all its contents to public_html.

For Windows 95, 98, ME, NT and 2000 on Intel x86, or Windows NT on Alpha:

Download a freeware package named PuTTY:

PuTTY - Windows clients for SSH and SCP (http://www.chiark.greenend.org.uk/~sgtatham/putty/).

WinSCP - GUI-based Windows Secure Copy Program. This utility installs on your desktop and allows you to see both the local and remote file hirarchies graphically, and copy back and forth using them. It can also be downloaded from our ftp server.

Other solutions:

For MacIntosh SSH:

For Mac Os X: ssh and scp should already be installed.

For Mac Os 9.x, you might try the following two sites:

Xwindows.

In order to connect your local X-server to a remote X-server using ssh, all you need is a working ssh connection to the remote host and the remote host needs to allow you to tunnel X over ssh. Some biochemistry servers allow this, others don't. Check with the support staff if you are unsure. While this will not allow you to connect to a xdm or kdm daemon, it allows you to connect to the remote server via ssh, and then invoke X-applications, which will then display locally on your local X-server. In order to connect with X-tunneling, use the following syntax:
ssh username@bioinformatics.uthscsa.edu +X -C
this will tunnel X through ssh and compress (the very compressible) X-protocol on the fly for improved network speed. For more options, type:
ssh --help

Last update: 12/3/02 SCH