| ACADEMIC COMPUTING and COMMUNICATIONS CENTER | |||||||||
SSH: Do You Know Where Your Password Is? | ||||
|
|
||||
| Passwords and Security | ||||
|
You've listened when we told you to be careful with your password, haven't you? You never write it down, you don't tell it to your friends, you don't save it in Eudora, and you don't enter it on the Web except when you use WebMail or when you're asked for it by the UIC WWW Identification Service, a.k.a. Bluestem. When you choose your passwords you don't use your spouse's name or your dog's name and you don't use a dictionary word that could be guessed. That means your password is safe, doesn't it? Well, not really. Each time you login to your borg, icarus, or tigger account, after you type your password and press Enter, your password is sent out over "the network." That ******* stuff you see as you type your password is just to fool anyone who's looking over your shoulder -- your actual password is sent over the network "in the clear," exactly as you typed it. That means that it could be intercepted and read by anyone else who's on the same network. |
||||
| What's Safe Besides SSH? Bluestem, WebMail, ACCC Dialins (sort of) | ||||
|
||||
| Privacy and Logging In | ||||
|
When last we visited the idea of privacy and security on the Internet (Pretty Good Personal Privacy, January/February/March 2000), we talked about using encryption to keep email messages and files secure. The same considerations apply to remote logins -- you have every right to expect security for your interactions when you're logged in to a remote host machine: Authenticity: Being able to tell without a doubt what the source of the data is. Your password tells the server who you are, but that's only half of the question; the server should also assure you who it is. Privacy: Scrambling data so it can't be used by anyone except the person that it's intended for. Privacy in remote logins means encrypting your password and, for that matter, your entire login session, so only you and the server you log into can read it. Integrity: Assurance that the server is receiving everything you send it, nothing more, nothing less. And vice versa -- assurance that you're receiving the exact messages, output, and files the server sends you, nothing more, nothing less. Yes, remote logins are vulnerable in all these areas. Say you're going from here to there. If the route from here to there goes though someone else's network, a bad guy on that network could eavesdrop on your transmission, looking for passwords, credit card numbers, or business secrets. Or they could use IP spoofing to redirect your communications to a fake server. Or the bad guy on a machine that's somewhere in the middle of your route from here to there could intercept your traffic and respond to you as if it was there and respond to there as if it was you. That's called a "man-in-the-middle" attack, and if the man in the middle is careful, you wouldn't even know it happened to you. |
||||
| SSH: Strong Security for Remote Logins | ||||
|
But you don't have to worry about any of that. Transparent security for logins is here -- secure remote logins with secure shell or SSH. SSH provides a secure replacement for telnet (with a secure and easy way to do X Windows; see Secure X Windows with SSH); for the UNIX "r" commands, rsh, rlogin, and rcp; and for FTP. SSH's security is transparent because it's an application layer protocol -- you use SSH software to login to a remote host instead of using telnet. And SSH really is secure. It supplies two-way authentication, including the server authenticating itself to you. After exchanging keys, your entire login session is encrypted, including your password and everything that you send to the host server and everything it sends to you. The best thing about SSH is that all this security stuff goes on behind the scenes. From your point of view as a user, an SSH application looks like just another version of telnet. It's no harder to switch to an SSH secure remote login application than it is to change from one vendor's telnet to another's. Interested? We're going to include SSH Secure Shell for Windows in the new NSKit. But you don't have to go out and get the whole kit to get SSH. You can download SSH Secure Shell for Windows from the ftp.uic.edu FTP server. (See figure 2 and its caption.) Version 2.3 is on the FTP server as I write this, but it's possible that Version 2.4 will be available by the time this article is published. The information in this article and in the ACCC Web page on SSH Secure Shell, http://www.accc.uic.edu/software/ssh/, applies to both versions. |
||||
| -- Confused by the Names? | ||||
|
SSH Secure Shell, the software, was written in 1995 by Tatu Ylönen, a Finish computer scientist. Both "SSH" and "secure shell" are trademarks of his company, SSH Communications Security Corp. The U of I has a site license for their products. The SSH code, however, is freely available and is used in a number of other secure remote login applications, for a wide range of operating systems; see: http://linuxmafia.com/pub/linux/security/ssh-clients for an up-to-date list and links. SSH the protocol (which SSH Communications would prefer that we call SECSH)
has not been approved as an IETF standard yet, but they're working on it; the
protocol drafts are maintained by SSH Communications: http://www.ssh.com/tech/archive/secsh.html |
||||
| To Install SSH Secure Shell | ||||
|
||||
| To Login Using SSH Secure Shell | ||||
|
||||
| Using SSH Secure sFTP | ||||
|
Login with SSH to the host you want to exchange files with, then select Window->New File Transfer or click the file transfer icon, a file folder with a quarter circle of blue dots over it. The Secure File Transfer window works like Windows Explorer for the files on the remote host, with the directory tree of your account on the left and the directories and files in current the directory on the right.
|
||||
| To Exit SSH Secure Shell | ||||
|
Logoff from your UNIX account, then either select File->Exit or click the Close box in the upper right corner of the SSH Secure Shell window. |
||||
| For More Info | ||||
|
I think you'll find that SSH Secure Shell works a lot like whatever telnet you've been using, but don't stop there; it can do lots more. The SSH Secure Shell user manual is in its online help and is on the Web at: http://www.ssh.com/products/ssh/winhelp/ Or see the ACCC document: http://www.accc.uic.edu/software/ssh/
|
||||
| The A3C Connection, April/May/June 2001 | Previous: How Mailtools Filters Work | Next: Secure X Windows with SSH |
| 2001-8-10 connect@uic.edu |
|