
If you are unable to use the methods below for any reason, your safest alternative is to change your password just before you do the file transfer, and change it back again as soon as possible. This will at least ensure that if your password is intercepted, it will be valid only for a brief period of time. Also see the guidelines on choosing a good password.
SSH clients for Mac and PC do exist (see our SSH Overview for some links). They do not all provide scp, but some provide other means for making secure file transfers.
In the absence of kerberized FTP or SSH, Mac and PC users can securely copy files to and from Athena by performing the file transfer through kerberized telnet clients (NCSA telnet on the Mac, HostExplorer on the PC). Step-by-step procedures are given on the following pages from the CWIS group:
If you don't already have kerberized NCSA telnet or HostExplorer installed, see:Athena now supports kerberized ftp, but to connect securely from a non-Athena UNIX machine to an Athena dialup or private workstation, it is necessary to take the steps shown in example 1. (This is due to the fact that the existing ftp clients don't encrypt the connection automatically before asking for a password. Note that the Athena 8.2 ftp client has been specially modified to auto-encrypt, so that these steps should not be necessary if you were to ftp from Athena to a remote-access Athena workstation, or to another machine running a kerberized ftp daemon; see example 2.)
ftp ftp.dialup.mit.edu
Connected to mass-toolpike.mit.edu.
220 buzzword-bingo FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: Server not found in Kerberos database
GSSAPI error: initializing context
GSSAPI authentication succeeded
Name (ftp.dialup.mit.edu:jqpublic):
You can safely ignore the GSSAPI errors as long as it says
`authentication succeeded' at the end.
331 Password required for jqpublic.
Password: [leave this blank!]
It should respond:
530 Login incorrect.
Login failed.
ftp>
ftp> private
200 Protection level set to Private (Encrypted).
ftp> user jqpublic
331 Password required for jqpublic.
Password:
and enter your password, which will now be encrypted.
230 User jqpublic logged in.
ftp>
You can now continue with the standard ftp commands.
athena% ftp private-machine.mit.edu
Connected to private.machine.MIT.EDU.
220 private-machine.mit.edu FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI authentication succeeded
200 Protection level set to Private (Encrypted).
Name (private-machine.mit.edu:jqpublic):
Note that the "(Encrypted)" in the message above is an Athena
customization; if you are connecting to a non-Athena machine it will
just say "Protection level set to Private".
scp localfilename athena.dialup.mit.edu:/path/to/remotefilename
To copy from Athena to the local machine:
scp athena.dialup.mit.edu:/path/to/remotefilename localfilename
To specify your Athena username (necessary if your username on the local
machine is not the same as your Athena username):
scp jqpublic@athena.dialup.mit.edu:/path/to/remotefilename localfilename
SecureCRT includes support for zmodem file transfer which can be used in conjunction with ssh for secure file transfer. In order to use this feature, you must add the sipb locker:
add sipb
By default, SecureCRT will put files into the download directory within the SecureCRT install directory (and try to get files from the upload directory). To change this, go to the Options menu, select Session Preferences and modify the settings listed under the Files tab.
To send a file from Athena to your PC:
sz -a filename for ascii (text) files
sz -b filename for binary files
To send a file from your PC to Athena:
athena% rz rz ready. To begin transfer, type "sz file ..." to your modem program athena%
ssh -L 1234:ftp.dialup.mit.edu:21 ftp.dialup.mit.edu
will log you in and forward connections made to port 1234 on your
local machine to ftp.dialup (using the standard ftp port 21).
For general information on securing the FTP channel, see the SSH
FAQ section on FTP or man pages.
For help with specific Mac/PC clients, see the F-Secure
SSH FAQ or documentation from your SSH provider.
For more information on SSH see: