Transferring files to/from your network account

Our shell gateways can also be used to transfer files to/from your network account.

Technically speaking, our shell gateways speak SSH, SCP, and SFTP. To use RSYNC, layer it over SSH: rsync -e 'ssh -p 31415' ....

When connecting from outside the department, you must connect on port 31415. Your SCP/SFTP client defaults to port 22, but should make it easy to change that to 31415. If you find yourself on a network that does not allow outgoing port 31415, we support the SPA mechanism for temporarily opening a wormhole to connect on a standard port that is unlikely to be blocked. We also try to answer questions on why we switched to 31415.

Different ways to connect and transfer files:

  • To use a java-based SFTP client inside your web browser, simply click the desired gateway's name (see above).
  • If you are running Microsoft Windows and clicking the gateway name above doesn't work, or you transfer files often and prefer a stand-alone client, consider downloading one of the following clients:
    • WinSCP [Download]
      Elegant SCP/SFTP client provides drag-and-drop file transfers.
    • PSCP and PSFTP [Download], [How to use]
      These tiny command-line SCP and SFTP clients let you use the scp and sftp commands at a Windows DOS prompt the same as you can do on a Linux or Mac OS X system (see below for examples).
  • If you are running Mac OS X and clicking the gateway name above doesn't work, or you transfer files often and prefer a stand-alone client, consider downloading one of the following clients:
    • Fugu [Download]
      A free elegant SCP/SFTP client that provides drag-and-drop file transfers as well as the ability to set up secure tunnel sessions.
  • Alternatively, if you are running Linux or Mac OS X, you could instead invoke scp directly from the command line to transfer individual files:
    scp -P 31415 localfilename myaccountname@puma.math.arizona.edu:newremotefilename
    scp -P 31415 myaccountname@puma.math.arizona.edu:remotefilename newlocalfilename
    To transfer many files, you may want to instead enter an interactive SFTP session:
    sftp -oPort=31415 myaccountname@puma.math.arizona.edu
    (You will need to know how to use SFTP commands. Please look at our Windows PSFTP examples to get started.)

Gateway authentication:

To verify that you are not being duped by a rogue gateway, the first time you try to connect, you may be presented with the gateway's RSA key fingerprint. The correct fingerprints are at the bottom of our page on remote shell access.