% ssh -l <username> <machinename>We recommend that you use ssh with your password and not bother to set up private and public keys.
For more information, see the scp man pages.
Command What it does % scp foo.txt email@example.com: Copies foo.txt from the local machine to andrew's home directory on aegrumet.mit.edu. Don't forget to include the trailing colon (:). % scp foo.txt firstname.lastname@example.org:/web/andrew/www Copies foo.txt from the local machine to /web/andrew/www on aegrumet.mit.edu % scp *.html email@example.com:/web/andrew/www Copies all files ending in html from the current directory on the local machine to /web/andrew/www on aegrumet.mit.edu. % scp firstname.lastname@example.org:"/web/andrew/www/*.html" . Copies all files ending in html from /web/andrew/www/ on aegrumet.mit.edu to the current directory on the local machine. Note the use of double quotes. This prevents glob expansion by the shell on the local machine. Also, don't forget the final "dot" (.)
Similarly, if you type "netscape" you will get a netscape window on your local machine. Like we said, don't do this. Run browsers directly on your local machine.
Note: If you plan to purchase an ssh client, be sure to test for version compatibility with our ssh server. You can check the server version by ssh'ing in like so:
% ssh -v -l <username> <machinename>