Mac OS X Unleashed

Mac OS X Unleashed

By John Ray and William C. Ray

What Is Secure Shell?

Secure shell is a common term used to describe a secure remote login protocol. Anyone using the term secure shell is also referring to the SSH protocol. In particular, the SSH protocol encrypts traffic and permits tunneling; that is, port forwarding over a secure channel.

There are two SSH protocols: SSH1 and SSH2. As you might have guessed, SSH1 is the original protocol, and SSH2 is a later development. Currently, SSH2 is the protocol under development. Where possible, use the SSH2 protocol rather than the SSH1 protocol. However, there are still Unix machines out there running only SSH1 servers. Consequently, we will discuss using both protocols. In most areas, the usage is similar.

The SSH protocol was originally developed by Tatu Ylonen, the chairman of SSH Communications Security, Ltd. The product was further developed by SSH Communications Security and F-Secure Corporation (formerly Data Fellows). Both companies still work on the protocol. F-Secure has marketing rights and rights to further modify the code. The SSH2 servers from these companies are similar.

There is also an SSH open source project called OpenSSH. It is also based on Tatu Ylonen's SSH. OpenSSH provides support for both SSH1 and SSH2 protocols. There is little noticeable difference in using one of the SSH servers from one of the companies and the OpenSSH package.

Because you now have the power of Unix, our examination of SSH will include not only what you need to know to connect to your OS X machine, but also what you need to know to connect to other Unix boxes that might be running the other SSH packages. As security concerns grow throughout the Internet community, using secure shell as a telnet replacement is becoming more common. Consequently, it is worthwhile to learn general basic SSH usage.

Share ThisShare This

Informit Network