Remote Access
- Remote access is only available through secure connections.
This is achieved by using SSH.
- First you must have an ssh client. Here are a couple of places to
look for ssh clients:
- Windows - get putty.exe
- Mac OS X, Linux, Other unix variants - included with OS
- Connect to ssh.acs.uwosh.edu on port 1022 using your ssh client. (If using PuTTY, then enter ssh.acs.uwosh.edu in the hostname box, and switch the protocol to SSH.)
- Log in using your university username and your UNIX lab
password. This is the same username/password that you use to log
into a workstation in the UNIX Lab.
- Hints
If you need access to your files from a remote location, you can use one of the
following applications. Use ssh.acs.uwosh.edu as the host, and be sure to use SFTP or SCP mode and port 1022.
- Windows: FileZilla or WinSCP or
Pscp.exe(command line)
- Macintosh: Fugu or included scp
- Linux, other UNIX variants: included scp or other utility
Syntax for the command line (pscp and scp) applications:
[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:.
This page is maintained by:
UW
Oshkosh Webmaster
URL: http://www.acs.uwosh.edu/unix/remote.shtml
Last updated: Tuesday, August 29, 2006 - 02:49 PM
|
|