SSH and FTP
SSH Clients
The generally-recommended SSH (Secure Shell) client for Windows is PuTTY. For a graphical front-end to SCP (Secure Copy), Windows users might use a program such as WinSCP. OS X and Linux machines typically include ssh as an available command within any terminal session.
Using SCP (for Unix/Linux)
SCP (Secure Copy) is similar to the old, insecure rcp (Remote Copy) function. The syntax is as follows: scp [-R] source-file destination-file, with the [username]@[hostname]: preceding the file (or folder) on the remote machine. See the examples below:
- An example of user bob trying to copy a sample text file from his machine to login.eecs would be as follows: scp sample.txt bob@login.eecs.berkeley.edu:.
- An example of user bob trying to copy a folder from a remote machine to his current directory would be as follows: scp -R bob@login.eecs.berkeley.edu:sample_folder .
Note: If the same username is used on both machines, then it can be left off.
About FTP
You cannot FTP to the EECS UNIX servers because FTP sends passwords in plain text, which can lead to passwords being stolen over the network. So it’s not supported. (Kerberized FTP exists, but EECS doesn’t support it).
To replace this functionality, you can:
- Have your EECS home directory mapped to their H: drive in Windows, if you have a campus IP address. You can simply copy files by accessing that directory. This H: drive is typically the same as a users UNIX home directory.
- Use the SSH Client Program (i.e. PuTTY or scp) to access your home directory and files.