Advanced Photon Source

An Office of Science National User Facility

Secure Shell (SSH) Access to APS Network Resources

The APS Computer systems are protected from unauthorized internet access. As a consequence individual computer workstations cannot be accessed from the internet. Only the system and can be contacted and only by using a secure method.

SSH (Secure Shell) can be used to access APS resources from a location outside of the APS local network. This protocol is available for all supported platforms.


sftp is an interactive file transfer program, similar to ftp, which performs all operations over an encrypted sech transport. It may also use many features of secsh, such as public key authentication and compression. sftp connects and logs into the specified host, then enters an interactive command mode.

sftp to and log in as usual.

The remote location that you are connecting to is your Unix home directory.
In order to copy a file from your home directory, the command is get.
For example:

sftp> get sftp.txt
Fetching /home/oxygen14/DANNEN/sftp.txt to sftp.txt

The command to paste a file into your home directory, the command is put.
For example:

sftp> put sftp.txt
Uploading sftp.txt to /home/oxygen14/DANNEN/sftp.txt
sftp.txt 100% 0 0.0KB/s 00:00

By typing help, you can also view a list of the commands available.