SSH, the Secure Shell/Introduction to SSH

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Introduction to SSH[edit | edit source]

What is SSH[edit | edit source]

SSH, the Secure Shell is a safe replacement for telnet, rcp and ftp. It has a client/server architecture. When data is sent via SSH, it is automagically encrypted, and then decrypted on the other side, making it unsniffable for crackers. Thanks to the SSH suite, we can safely log in remotely, copy files, or even (via tunneling) make other services (http, pop) safe! UNIX SSH packages include a server and a client. On Windows there mostly is no need for a server.

Features of SSH[edit | edit source]

  • Secure remote login
  • Secure remote command execution
ssh w
  • Secure file transfer
scp some_file
scp -R some_directory
  • Port forwarding
ssh -L 8080:localhost:80 some.http.server
  • Access control (give someone access to only some particular programs on your account)

History[edit | edit source]

In 1995, Tatu Ylönen, a researcher at Helsinki University of Technology, Finland, designed the first version of the protocol (now called SSH-1) prompted by a password-sniffing attack at his university network. The goal of SSH was to replace the earlier rlogin, TELNET and rsh protocols, which did not provide strong authentication or guarantee confidentiality. Ylönen released his implementation as freeware in July 1995, and the tool quickly gained in popularity. Towards the end of 1995, the SSH user base had grown to 20,000 users in fifty countries.

You can read more about history of SSH at wikipedia:Secure Shell#History and development.

PGP and GPG[edit | edit source]

PGP and GPG are similar to SSH programs. They are mostly used to electronically sign and encrypt e-mail messages, but can also be used to encrypt files, or communicators.