You may want to copy files between an in-lab account and your personal account, or you might want to copy files to/from a partner's account. A fairly easy way to do that is to use the file browser and SSH. You can also do it using the command line.
In these examples, we'll assume that you are logged in under one of the
class accounts, and that the other account that you want to copy to or
from is for the user named mortimer.snerd
. (Substitute your
username.)
SSH
cslab25
(or any of the
other cslab machines)
/homes/mortimer.snerd
(with your id).
mortimer.snerd
(yours)
mortimer.snerd
,
but be sure that the "forget immediately" option is chosen.
mortimer.snerd
.
When you're done, disconnect the other home directory. You should see what looks like an "eject" icon next to it in the bar down the left side of the window; click that to disconnect it. (Don't just close the window.)
You can also copy files (not directories or folders) using the
command scp
. To copy the file myfile
from
the current directory to the directory csci235/work
in
Mortimer Snerd's account, you would use the command
$ scp myfile mortimer.snerd@cslab25:csci235/work/
Mortimer will, of course, have to provide his password when prompted.
You will need to connect your copying program to any of the lab
computers (e.g. cslab00
, or, if you are
off-campus, csgate
) using SSH (sometimes called SCP or
SFTP). If you need to specify an initial directory, your home
directory (or folder) is named as above,
/homes/mortimer.snerd
.