Opentopia Directory Encyclopedia Tools

Secure Shell

Encyclopedia : S : SE : SEC : Secure Shell



 


Internet protocol suite
Layer Protocols
Application DNS, TLS/SSL, TFTP, FTP, HTTP, IMAP, IRC, NNTP, POP3, SIP, SMTP, SNMP, SSH, TELNET, BitTorrent, RTP, rlogin, …
Transport TCP, UDP, DCCP, SCTP, IL, RUDP,
Network IP (IPv4, IPv6), ICMP, IGMP, ARP, RARP, …
Link Ethernet, Wi-Fi, Token ring, Point-to-Point Protocol>PPP, SLIP, FDDI, ATM, DTM, Frame Relay, SMDS, …

In computing, Secure Shell or SSH is a set of standards and an associated network protocol that allows establishing a secure channel between a local and a remote computer. It uses public-key cryptography to authenticate the remote computer and (optionally) to allow the remote computer to authenticate the user. SSH provides confidentiality and integrity of data exchanged between the two computers using encryption and message authentication codes. SSH is typically used to login to a remote machine and execute commands, but it also supports tunneling, forwarding arbitrary TCP ports and X11 connections; it can transfer files using the associated SFTP or SCP protocols. An SSH server, by default, listens on the standard TCP port 22.

History

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.

In December 1995, Ylönen founded SSH Communications Security to market and develop SSH. The original version of the SSH software used various pieces of free software, such as GNU libgmp, but later versions released by SSH Secure Communications evolved into increasingly proprietary software. SSH Communications Security subsequently relicensed SSH to F-Secure (formerly known as Data Fellows), who later sold it to WRQ (now Attachmate), who markets it under the name Reflection for Secure IT [link]. SSH Secure Communications has a USA subsidiary in Palo Alto, California.

In 1996, a revised version of the protocol, SSH-2, was designed, incompatible with SSH-1. In 2006, this protocol became a proposed Internet standard with the publication by the IETF "secsh" working group of RFCs (see references). SSH-2 features both security and feature improvements over SSH-1. Better security, for example, comes through Diffie-Hellman key exchange and strong integrity checking via MACs. New features of SSH-2 include the ability to run any number of shell sessions over a single SSH connection [link].

In 1999, developers wanting a free software version to be available went back to the older 1.2.12 release of the original ssh program, which was the last released under an open source license. Björn Grönvall's OSSH was subsequently developed from this codebase. Shortly thereafter, OpenBSD developers branched Björn's code and did extensive work on it, creating OpenSSH which shipped with the 2.6 release of OpenBSD. From this version, a "portability" branch was formed to port to other operating systems. As of 2005, a large number of operating systems use the OpenSSH codebase.

An ssh program commonly appears for use on Unix-like systems for client connections as well as a daemon such as sshd for accepting remote connections. Implementations of SSH exist for most modern platforms including Microsoft Windows, Mac OS, Linux-based distributions and BSD operating systems. Commercial, freeware and open source versions of various levels of complexity and completeness exist.

It is estimated that, at the end of 2000, there were 2,000,000 users of SSH.

Uses of SSH

Example of tunnelling an X11 application over SSH.
Enlarge
Example of tunnelling an X11 application over SSH.

SSH is most commonly used:

SSH architecture

The SSH-2 protocol has a clean internal architecture (defined in RFC 4251) with well-separated layers. These are: This open architecture provides considerable flexibility, allowing SSH to be used for a variety of purposes beyond secure shell. The functionality of the transport layer alone is comparable to TLS; the user authentication layer is highly extensible with custom authentication methods; and the connection layer provides the ability to multiplex many secondary sessions into a single SSH connection, a feature comparable to BEEP and not available in TLS.

Security cautions

Since SSH-1 has inherent design flaws which make it vulnerable to e.g. man in the middle attacks, it is now generally considered obsolete and should no longer be used. In practice most modern servers and clients support SSH-2, which should be used exclusively (by explicitly disabling fallback to SSH-1). However, software not supporting SSH-2 is still used by many organizations, which can make it hard to avoid the use of SSH-1.

In all versions of SSH, it is important to verify unknown public keys before accepting them as valid. Accepting an attacker owned public key as a valid public key has the effect of disclosing transmitted password, and allowing man in the middle attacks.

See also

References

Wikibooks has a manual, textbook or guide to this subject:
[[wikibooks:|]]

  • Daniel J. Barrett, Richard E. Silverman, and Robert G. Byrnes — SSH: The Secure Shell (The Definitive Guide), O'Reilly 2005 (2nd edition). ISBN 0-596-00895-3 [link].
  • Michael Stahnke — Pro OpenSSH, Apress 2005 ISBN 1-590-59476-2 [link].
  • Kurt Seifried, What's in a Name?, February 14, 2001, [link].
  • Original announcement of Ssh by Tatu Ylönen

External links

This article was originally based on material from the Free On-line Dictionary of Computing, which is [Foldoc licenselicensed] under the GFDL.

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: