theCAT
  
Report a Problem:
Email: support@cat.pdx.edu
Phone: 503-725-5420
Location: FAB 82-01
  USERS PLATFORMS SYSTEM RESOURCES    
Home Students Fac/Staff CS Tutors Guidelines Windows Linux Mac Mail Network Software Web TheCAT Sitemap Contact
arrowHome arrow Network arrow SFTP Access Sunday, 26 March 2017  
Network
SFTP Access Print
Written by Administrator   
Thursday, 03 February 2005

SFTP (SSH file transfer protocol) is a safe and easy way to send and receive files over a network.

Plaintext FTP sends your files and password(s) across the internet in plain text so anyone watching can steal your private information. We do not support FTP.

Accessing Files on Unix Accounts

Files on a Unix account can be accessed by connecting to any Unix lab machine using SFTP.

The Unix command is sftp for secure file transfer. This command is in /usr/bin.

CS students have access to sftp://ada.cs.pdx.edu/ and ECE students have access to sftp://eve.ece.pdx.edu/ or sftp://walle.ece.pdx.edu/. Some graphical SFTP clients require you to specify a port number. You can use 22.

If you wish to log in using public key authentication, place your public key in ~/.ssh/authorized_keys2 (~ is your home directory).

Accessing Files on Linux Accounts

Files on a Linux account can be accessed by connecting to any Linux lab machine using sftp. When in doubt, use sftp://linux.cecs.pdx.edu/. Some FTP clients require you to specify a port number. You can use 22.

If you wish to log in using public key authentication, place your public key in ~/.ssh/authorized_keys2 (~ is your home directory).

Accessing Files on Windows Accounts

Files on the N: drive on a Windows account can be accessed via SFTP. Connect to sftp://winhome.cecs.pdx.edu or winhome.cecs.pdx.edu, depending on the client, and enter your Windows username and password when prompted. Some clients require you to specify a port number. You can use 22. When you successfully log in to winhome.cecs.pdx.edu, you will be placed in your home directory (N:).

Note: You cannot access other home directories through SFTP. Windows does not support anonymous FTP.

For information about public key authentication, please contact the CAT.

The host key fingerprint of winhome.cecs.pdx.edu is: 4c:32:07:5a:35:02:37:02:75:89:2f:18:c7:d4:73:ac.


Graphical FTP Clients

WinSCP: A popular and free SFTP client for Windows, available from http://winscp.sourceforge.net/.

Tunnelier: An ssh and SFTP client for Windows, free for personal use. It can be downloaded from http://www.bitvise.com/tunnelier.html.

FileZilla: An FTP and SFTP client for Windows, Mac, Unix, and Linux. The wiki at http://wiki.filezilla-project.org/Client_Installation contains information on installing for each operating system.

Cyberduck: A popular and free open-source client for Mac and Windows that supports SFTP. For more information, see http://cyberduck.ch/.

Contact the CAT if you have questions about choosing an appropriate SFTP client. 


Internet File Transfer Protocol (SFTP) Shell Guide

Most of these commands apply to both FTP and SFTP. To start SFTP from the command line type:

201 systemname.domain.pdx.edu> sftp hostname

where hostname is the name or IP address of the remote machine. If the machine exists and accepts the connection, you will be prompted for a user name and password. If you give a valid user name and password, you will be connected to your home directory. If you give the user name anonymous, you will be connected to the directory tree set up for exchanging information with anonymous users.

(s)FTP commands:

ls list the contents of a directory
ls -la list the contents of a directory (expanded information)
dir list the contents of a directory (expanded information)
cd change directories
get copy a single file from the remote host
mget copy multiple files from the remote host
put copy a single file to the remote host
mput copy multiple files to the remote host
close disconnect from the current host
open hostname connect to a different host
quit exit the ftp program
Last Updated ( Sunday, 29 January 2017 )

©1999 - 2017 TheCAT