Printable version of this webpage
Transferring Files To and From CSIL
Transfer Files from Your Home Computer to a Linux Computer in the CSIL
- Make sure you have an active internet connection to your Windows computer
- Copy the file to the computer fraser.sfu.ca from your home computer using the following command
scp filename_to_be_transfered your_username@fraser.sfu.ca:.
Then press "Enter". You will be asked for your password, once you have provided
it and pressed "Enter" again a line of text will appear. As an example consider the
following lines:
scp startfile jregan@fraser.sfu.ca:.
jregan@fraser.sfu.ca's password: *********
startfile 100% 168 0.2KB/s 00:00
- Log into fraser using ssh, as follows
ssh -l your_username -X fraser.sfu.ca
As an example consider the following case, in this case the command is followed
by the expected results.
ssh -l jregan fraser.sfu.ca
jregan@fraser.sfu.ca's password: ******
Last login: Sat Sep 2 19:43:04 2006 from s01060004e2b697
*************************************************************************
Welcome to Simon Fraser University's information technology environment. Use
of these facilities is governed by SFU Policy GP-24 "Fair Use of Information
Resources". GP-24 is printed in the SFU Computing Guide and may be
found at http://www.sfu.ca/policies/general/gp24.htm on the World Wide Web.
****************************************************************************
On the Web, see http://www.sfu.ca/ots for Current Status of our network
and other services.
****************************************************************************
Assigned terminal type is: cygwin
NOTE: If you have not logged into fraser before you will
receive a message like the one shown below before being asked for your
password. Simply reply with a yes so that fraser is added to your
list of acceptable computers to contact.
The authenticity of host 'fraser.sfu.ca (199.99.99.99)' can't be established.
DSA key fingerprint is 3e:c4:a0:f9:89:4e:4e:4b:d2:d1:3d:86:8d:55:31:b4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ddraig.cs.sfu.ca,199.60.14.38' (DSA) to the list of
known hosts.
jregan@ddraig.cs.sfu.ca's password:
If you have logged in before you should be asked for your password immediately.
- Copy the file from the computer fraser.sfu.ca to one of the computers in the CSIL Linux
work area using the following command
scp filename_to_be_transfered CSIL_computer_name.csil.sfu.ca:.
Then press "Enter". You will be asked for your password, once you have provided
it pressed "Enter" a line of text will appear. As an example consider the
following lines:
scp startfile kiwi.csil.sfu.ca:.
jregan@kiwi.csil.sfu.ca's password: *********
startfile 100% 168 0.2KB/s 00:00
- Your file is now available for you in your home directory on the CSIL lab computer.
- Log out from fraser. You should now be working on your home computer (the prompt should contain
your userid and the name of your home computer)
Transfer Files from a Linux Computer in the CSIL to Your Home Computer
- Make sure you have an active internet connection to your Windows computer
- Log into fraser using ssh, as follows
ssh -l your_username fraser.sfu.ca
As an example consider the following case, in this case the command is followed
by the expected results.
ssh -l jregan fraser.sfu.ca
- Copy the file to the computer fraser.sfu.ca from the CSIL computer using the following command
scp your_username@CSIL_computer_name.csil.sfu.ca:/home/filename_to_be_transfered .
Then press "Enter". You will be asked for your password, once you have provided
it and pressed "Enter" again a line of text will appear. As an example consider the
following lines:
scp jregan@kiwi.csil.sfu.ca:/home/jregan/hello2.c .
kiwi.csil.sfu.ca's password: *****
hello2.c 100% 818 0.0KB/s 00:00
- Log out from fraser. You should now be working on your home computer (the prompt should contain
your userid and the name of your home computer)
- Copy the file from the computer fraser.sfu.ca to your home computer using the following command
scp your_username@fraser.sfu.ca:/home/filename_to_be_transfered .
Then press "Enter". You will be asked for your password, once you have provided
it and pressed "Enter" again a line of text will appear. As an example consider the
following lines (Do not omit the . at the end of the first command):
scp jregan@kiwi.csil.sfu.ca:/home/jregan/hello2.c .
fraser.sfu.ca's password: *****
hello2.c 100% 818 0.0KB/s 00:00
- Your file is now available for use on your homw computer
* CMPT 102 Information Page
*
Course Central
*
Computing Science Home
*
Janice Regan, last modified September 4, 2006
|