Document Actions
Remote file access
- Windows: FileZilla or WinSCP or
Pscp.exe(command line)
- Macintosh: Fugu or included scp
- Linux, other UNIX variants: included scp or other utility
[p]scp -P 1022 local_file username@ssh.acs.uwosh.edu:remote_file
[p]scp -P 1022 username@ssh.acs.uwosh.edu:remote_file local_file
[p]scp -P 1022 -r username@ssh.acs.uwosh.edu:remote_dir local_dir
For example, these equivilent commands will both copy myfile.c from your computer to the lab. The period in the 2nd command means "use the same file name on the remote computer"
scp -P 1022 myfile.c doej99@ssh.acs.uwosh.edu:myfile.c
scp -P 1022 myfile.c doej99@ssh.acs.uwosh.edu:.
These are the same as above, except in the reverse direction. Files are copied from the lab to the local computer:
scp -P 1022 doej99@ssh.acs.uwosh.edu:myfile.c myfile.c
scp -P 1022 doej99@ssh.acs.uwosh.edu:myfile.c
The same rules apply for copying a directory recursively:
scp -P 1022 -r doej99@ssh.acs.uwosh.edu:program1
scp -P 1022 -r program1 doej99@ssh.acs.uwosh.edu:.

