SFTP on Apple & Linux

Both Apple and Linux clients have native operating system utilities that can be used to copy files to SFTP servers.

These tools can be used to copy files to Department linux login servers for remote file access or for transfering HTML/CSS to upload web content for SFTP servers for web publishing.

Command-line SFTP

Using the terminal application on either Apple or Linux computers, execute the following commands from within the local directory you want to copy files from:

$ sftp <username>@sftp.csc.uvic.ca
<username>@sftp.csc.uvic.ca's password: xxxxxxxx
Connected to sftp.csc.uvic.ca.
sftp> cd /public_html
sftp> put -r *
sftp> bye

The above command connects to the teaching sftp as <username>, changes to the remote directory /publich_html and performs a recursive copy of all files in the current local of your computer.

SFTP using Apple GUI File Browser (Finder)

Open the Finder file browser and from the Go menu, select Connect to Server.... In the Connect to Server pop-up dialog, enter sftp://<username>@sftp.csc.uvic.ca/public_html into the server address dialog and click Connect

You will be promtpted for your account password. Once completed, a file browser window will open to your /public_html folder which you can use to drag-and-drop files into using the file browser.

apple-sftp

SFTP using Linux GUI File Browser (Nautilus)

Open the Nautilus file browser and click + other locations at the bottom of the file browser. The connect to server dialog will open and enter the following connection string into the dialog and click the connect button: sftp://<username>@sftp.csc.uvic.ca/public_html

You will be promtpted for your account password. Once completed, a file browser window will open to your /public_html folder which you can use to drag-and-drop files into using the file browser.

linux-sfp-connect