CSCI 161: Transferring files via SSH Secure Shell
- Install the SSH client referenced on the course
page. Afterwards, you should have two icons on your desktop: SSH
Secure Shell Client and Secure File Transfer Client.
- Launch SSH Secure Shell Client. Click "Quick Connect" and
specify a "Host Name" from this list.
- Enter your CS "User Name" and ensure port number is set to 22.
- Click the "Connect" button and enter your password. You should
now be logged onto your CS account.
- Create a new directory with "mkdir ~/ProjectName" (the squiggle
is a tilde, which represents your home directory).
- Click on the "New File Transfer Window" icon on the
toolbar. It's the yellow folder with blue dots emanating from it.
- You now have a file transfer window with two panes. The left
pane shows files from your computer, and the right pane shows files
on your CS account. In the left pane, locate the file you wish to
transfer (it's likely in your Eclipse workspace on your home
computer). Then drag the file to the folder you created in the right
pane.
- The copied file should now be located in "~/ProjectName" on
your CS account. Switch to the SSH Secure Shell console, "cd" into
"~/ProjectName" and type submit.
- Close the File Transfer window and type "exit" in the console.
- If later you're working in the lab and wish to import a
transferred file into Eclipse, follow the instructions on creating a
project and importing files.
Gary M. Zoppetti