In an age of more or less constant attacks against our networks and computers, secure communications are more important...
than ever. The Secure Shell (SSH) protocols provide secure drop-in replacements for traditional communication tools such as telnet and ftp. In addition to describing the SSH protocols, how they work, and how they can be used to perform the familiar telnet and ftp functions, this chapter explores using SSH to link any two applications securely, and even how to set up an ad hoc VPN that links two networks.
Read Chapter 7, SSH from VPNs Illustrated: Tunnels, VPNs, and IPsec written by Jon C. Snader and published by Addison-Wesley Professional.