putty ssh



ssh

ssh

This article may require cleanup to meet Wikipedia's quality standards.
Please discuss this issue on the talk page or replace this tag with a more specific message.
This article has been tagged since April 2006.
The five layer TCP/IP model
5. Application layer

DHCP • DNS • FTP • HTTP • IMAP4 • IRC • MIME • POP3 • SIP • SMTP • SNMP • SSH • TELNET • BGP • RPC • RTP • RTCP • TLS/SSL • SDP • SOAP • L2TP • PPTP • …

4. Transport layer

TCP • UDP • DCCP • SCTP • GTP • …

3. Network layer

IP (IPv4 • IPv6) • ARP • RARP • ICMP • IGMP • RSVP • IPSec • …

2. Data link layer

ATM • DTM • Ethernet • FDDI • Frame Relay • GPRS • PPP • …

1. Physical layer

Ethernet physical layer • ISDN • Modems • PLC • RS232 • SONET/SDH • G.709 • Wi-Fi • …

This box: view  talk  edit

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 (MACs). SSH is typically used to log into 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.

Contents

  • 1 History
  • 2 Uses of SSH
  • 3 SSH architecture
  • 4 Security cautions
  • 5 How ssh uses public-key cryptography (with analogy)
  • 6 See also
  • 7 References
  • 8 External links

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 [1]. 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 [2].

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, OpenSSH is the single most popular ssh implementation, coming by default in a large number of operating systems.

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 Sun OS, Mac OS, Linux-based distributions, Microsoft Windows, BSD operating systems, and OpenVMS. 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.[1]

Uses of SSH

Example of tunneling an X11 application (xeyes) over SSH.

SSH is most commonly used:

  • with an SSH client that supports terminal protocols, for remote administration of the SSH server computer via terminal (character-mode) console--can be used as an alternative to a terminal on a headless server;
  • in combination with SFTP, as a secure alternative to FTP which can be set up more easily on a small scale without a public key infrastructure and X.509 certificates;
  • in combination with rsync to backup, copy and mirror files efficiently and securely
  • in combination with SCP, as a secure alternative for rcp file transfers—more often used in environments involving Unix
  • for port forwarding or tunneling, frequently as an alternative to a full-fledged VPN. In this type of use, a (non-secure) TCP/IP connection of an external application is redirected to the SSH program (client or server), which forwards it to the other SSH party (server or client), which in turn forwards the connection to the desired destination host. The forwarded connection is encrypted and protected on the path between the SSH client and server only. Uses of SSH port forwarding include accessing database servers, email servers, securing X11, Windows Remote Desktop and VNC connections or even forwarding Windows file shares. This is primarily useful for tunnelling connections through firewalls which would ordinarily block that type of connection, and for encrypting protocols which are not normally encrypted (e.g. VNC).
  • with an SSH client that supports dynamic port forwarding (presenting to other programs a SOCKS or HTTP 'CONNECT' proxy interface), SSH can even be used for generally browsing the web through an encrypted proxy connection, using the SSH server as a proxy;
  • with an SSH client that supports SSH exec requests (frequently embedded in other software, e.g. a network monitoring program), for automated remote monitoring and management of servers.
  • Using just a normal ssh login on a server, the SSH Filesystem can securely mount a directory on the server as a filesystem on the local computer.

SSH architecture

The SSH-2 protocol has a clean internal architecture (defined in RFC 4251) with well-separated layers. These are:

  • The transport layer (RFC 4253). This layer handles initial key exchange and server authentication and sets up encryption, compression and integrity verification. It exposes to the upper layer an interface for sending and receiving plaintext packets of up to 32,768 bytes each (more can be allowed by the implementation). The transport layer also arranges for key re-exchange, usually after 1 GB of data has been transferred or after 1 hour has passed, whichever is sooner.
  • The user authentication layer (RFC 4252). This layer handles client authentication and provides a number of authentication methods. Authentication is client-driven, a fact commonly misunderstood by users; when one is prompted for a password, it may be the SSH client prompting, not the server. The server merely responds to client's authentication requests. Widely used user authentication methods include the following:
    • "password": a method for straightforward password authentication, including a facility allowing a password to be changed. This method is not implemented by all programs.
    • "publickey": a method for public key-based authentication, usually supporting at least DSA or RSA keypairs, with other implementations also supporting X.509 certificates)
    • "keyboard-interactive" (RFC 4256): a versatile method where the server sends one or more prompts to enter information and the client displays them and sends back responses keyed-in by the user. Used to provide one-time password authentication such as S/Key or SecurID. Used by some OpenSSH configurations when PAM is the underlying host authentication provider to effectively provide password authentication, sometimes leading to inability to log in with a client that supports just the plain "password" authentication method.
    • GSSAPI authentication methods which provide an extensible scheme to perform SSH authentication using external mechanisms such as Kerberos 5 or NTLM, providing single sign on capability to SSH sessions. These methods are usually implemented by commercial SSH implementations for use in organizations, though OpenSSH does have a working GSSAPI implementation.
  • The connection layer (RFC 4254). This layer defines the concept of channels, channel requests and global requests using which SSH services are provided. A single SSH connection can host multiple channels simultaneously, each transferring data in both directions. Channel requests are used to relay out-of-band channel specific data, such as the changed size of a terminal window or the exit code of a server-side process. The SSH client requests a server-side port to be forwarded using a global request. Standard channel types include:
    • "shell" for terminal shells, SFTP and exec requests (including SCP transfers)
    • "direct-tcpip" for client-to-server forwarded connections
    • "forwarded-tcpip" for server-to-client forwarded connections

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 be avoided by explicitly disabling fallback to SSH-1. While most modern servers and clients support SSH-2, some organizations still use software with no support for SSH-2 making 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's public key as a valid public key has the effect of disclosing the transmitted password and allowing man in the middle attacks.

As with any encrypted protocol SSH can be considered a security risk by companies or governments who do not trust their users. Furthermore SSH has built in tunneling features which make it easier for users to achieve passage of large volumes of information or to establish an entry point for unauthorized inward access over a SSH link than with other protocols.

How ssh uses public-key cryptography (with analogy)

Main article: Public-key cryptography

First, a pair of cryptographic keys is generated. One is the private key, the other is the public key. As an analogy, they can be thought of as a matching private-key and a public padlock. The public padlock is what is installed on the remote machine and is used by ssh to authenticate users which use the matching private key. As a user of the system, you don’t care who can see or copy the padlock (ie the public key), since only the secret private key fits it. The private key is the part you keep secret inside a secure box that can only be opened with the correct passphrase. When the user wants to access a remote system, he opens the secure box with his passphrase, and uses the private-key to authenticate him with the padlock on the remote computer. Neither the passphrase nor the private key leave the user's machine. However, the user still needs to trust the local machine not to scrape his passphrase or copy his private-key while it's out of the secure box.

ssh news and ssh articles

Here's our top rated ssh links for the day:

zaTunnel - SSH Tunnel and port forwarding for Pocket PC - free utility released 

MS Mobiles - Feb 07 12:32 PM
New freeware brings ability to transfer your data over super-secure SSH Tunel - so that nobody can "overhear" it, even if you use open Wi-Fi access point or open hot spot!

SSH Communications Security Receives 2007 Hot Companies Award 
SYS-CON Media - Feb 05 8:39 AM
SSH Communications Security , a world-leading provider of enterprise security solutions and end-to-end communications security, and the original developer of the Secure Shell protocol, today announced that it has been selected as a 2007 Hot Companies winner by Info Security Products Guide, the world's leading publication on security-related products and technologies.

Brocade's Secure Storage Platform Gets a Gold 
eWeek - Feb 09 2:34 PM
The Brocade 48000 Director, designed to help enterprises share and secure critical data in data centers, receives the Gold in TechTarget's annual Storage Product of the Year Awards program.

Thank you for viewing the ssh page ssh. 

 

Ever wondered what others are searching for in relation to ssh? Now you can see.  Below is a listing of  what everyone else is searching for in regard to ssh.

1. ssh
2. putty ssh
3. windows ssh terminal emulator
4. ssh client
5. ssh tunnel
6. free ssh client
7. cygwin ssh unc
8. what is ssh
9. irix ssh
10. ssh debian
11. ssh status code
12. ssh secure shell
13. integrating ssh into cisco environment
14. ssh for windows
15. create ssh keys
16. windows ssh
17. labview ssh
18. ssh mesg: ttyname: invalid argument
19. ssh putty download
20. what does gtk warning in ssh mean
21. ssh freeware
22. how to setup ssh
23. ssh description
24. cygwin ssh
25. cygwin ssh mapped
26. putty ssh download
27. ssh tutorial
28. switching ssh port linux
29. reading unc directories using ssh
30. ssh client windows
31. port 80 ssh
32. i need a ssh guide for post installation
33. open ssh 4.2 protocol ssh version 2
34. ssh putty
35. ssh hp unix
36. ssh server
37. what ports to open for ssh
38. ssh commands
39. what does it take to implement an ssh environment
40. ubuntu ssh
41. clientaliveinterval ssh version
42. encrypted ssh tunnelling
43. ssh and options and compression and secure and shell
44. free ssh
45. fender showmaster ssh
46. ldap ssh failed login
47. putty ssh windows
48. ssh + shell script example
49. ssh protocol
50. ssh specification
51. ssh on msys
52. ssh sentinel
53. ssh command
54. ssh client for windows xp
55. ssh squid secure proxy
56. ssh commands background
57. ssh constructing a public key
58. ssh international,kuwait
59. ssh vip
60. windows ssh client
61. ssh 1
62. windows ssh server
63. what is bundled with open ssh
64. what is an ssh
65. ssh through telnet tunnel
66. ssh tunnel manager
67. troubleshooting ssh connections
68. ssh through ftp tunnel
69. dedicated server hosting ssh order worldpay
70. how to setup ssh on cisco router
71. how to ssh
72. hpux build ssh server
73. ibm mainframe ssh sftp
74. sftp ssh plugin eclipse
75. how does ssh work
76. config cisco router for ssh
77. free ssh server
78. gtk-warning : cannot open display: firefox ssh
79. isa 2006 ssh listener
80. how to install and compile psybnc ssh
81. red hat enterprise 4 ssh x client
82. reflexion ssh
83. j2me ssh through http gateway
84. perl win32 ssh
85. pptp over ssh
86. openbsd ssh pf
87. mac telnet ssh freeware
88. ldap ssh problem
89. mu security bts ssh cdma corrected
90. dropbear ssh server
91. encrypted ssh tunnelling internet
92. f-secure ssh
93. definition of ssh
94. exceed + linux + ssh
95. 'redhat 7.3' ssh certificate password
96. amiga ssh client
97. blackberry ssh
98. cdma bts security ssh corrected
99. change ssh port cwrsync
100. cisco ssh