|
! SSH and Computer networking |- ! Unix-like and Software licensing |- ! Computer insecurity OpenSSH (Open Secure Shell) is a set of free software computer programs providing encrypted communication sessions over a computer network using the SSH protocol. It was created as an open alternative to the proprietary Secure Shell software. The project is led by Theo de Raadt from Calgary, Alberta in Canada.
History OpenSSH was created by the OpenBSD team as an alternative to the original SSH software by Tatu Ylönen, which is now proprietary software. The OpenSSH developers claim that it is more secure than the original, due to their policy of producing clean and audited code and the fact, to which the word open in the name refers, that it is released under the open source BSD license. Although source code is available for the original SSH, various restrictions are imposed on its use and distribution, making OpenSSH a more attractive project for many software developers. OpenSSH first appeared in OpenBSD 2.6. OpenSSH 4.4 was released on September 27 2006. Trademark In February of 2001, Tatu Ylönen, Chairman and CTO of SSH Communications Security informed the OpenSSH development mailing list, openssh-unix-dev@mindrot.org, that after speaking with key OpenSSH developers Markus Friedl, Theo de Raadt, and Niels Provos, the company would have to assert its ownership of the SSH and Secure Shell trademarks in order to protect them. Ylönen also sought to change references to the protocol to SecSH or secsh, in order to maintain control of the name. He proposed having OpenSSH change its name in order to avoid a lawsuit; Theo de Raadt refused outright to consider changing the project's name. At the time, "SSH", "Secure Shell" and "ssh" were used in the documents proposing the protocol as an open standard and it was hypothesised by many that by doing so, without marking these within the proposal as registered trademarks, Ylönen was relinquishing all exclusive rights to the name as a means of describing the protocol. This is because in the United States it is imperative that trademarks be used in advertising copy as adjectives, never as nouns or verbs. Improper use of a trademark, or allowing others to use a trademark incorrectly, results in the trademark becoming a generic term, like Kleenex or Aspirin, which opens the mark to use by others, via the public domain. Also brought into question was if the name "ssh" was trademarked, or merely the logo using the lower case letters "ssh", many online pundits believed the latter, after study of the USPTO trademark database and also bringing doubt to the validity of the claim was the 6 years between the company's creation and the point in time when it began defending its trademark from free alternatives such as OpenSSH, and that only OpenSSH was receiving these threats of legal repercussions. Both developers of OpenSSH and Ylönen himself were members of the IETF workgroup developing the new standard, which after several meetings, denied Ylonen's request for a renaming of the protocol, citing concerns that it would set a bad precedent for other trademark claims against the IETF. The working group participants argued that both Secure Shell and SSH were generic terms and that they could not be trademarks. Portability Partly because OpenSSH is required to perform authentication, a capability that has many varying implementations between different operating systems, it requires a substantial portability infrastructure. Rather than including this directly into OpenBSD and OpenSSH, it is developed separately as an addition under the auspices of the OpenSSH Portability Team and released as what are known as "portable releases". This model is also used for other OpenBSD projects such as OpenNTPD. Programs included The OpenSSH suite includes the following tools:
Port forwarding Most programs making use of TCP connections can be passed over a secure tunnel using OpenSSH. This is used to multiplex additional TCP connections over a single ssh connection. It is useful for concealing connections and encrypting protocols which are otherwise unsecured, and for circumventing firewalls. UDP connections may sometimes be tunnelled with the aid of programs such as netcat. Examples of easily tunnelled programs include the X Window System, http using a proxy and VNC. An X Window System tunnel is often created automatically between two Unix computers, so GUI programs from remote computers can be run simply by typing their names: In addition, some software can be set to automatically make use of OpenSSH to create a tunnel. Examples include DistCC, CVS, rsync, and fetchmail. Programs where tunneling is possible but complex are ftp, which can often be replaced with sftp in any case, and SMB. On some operating systems, remote filesystems can be mounted over ssh using shfs, lufs or podfuk. Also, OpenSSH can be used to tunnel into a computer behind a NATing router. On the computer behind the NAT: In another terminal on the computer behind the NAT: Now example.com, the computer on the outside, can get in via that forwarded port: SOCKS OpenSSH is capable of creating an ad hoc SOCKS proxy server to support more flexible proxying than is possible with ordinary port forwarding. For example: ssh -D1080 user@example.com establishes a local SOCKS server that listens on "localhost:1080". tun-based VPN Beginning with version 4.3, OpenSSH implements an OSI layer 2/3 "tun"-based VPN. This is the most flexible of OpenSSH's tunnelling capabilities, allowing applications to transparently access remote network resources without "socksification." The following example illustrates setting up a VPN to see the 192.168.0.0/24 at example.com as 192.168.0.0/24 locally. The local box will be 192.168.0.20 in the remote network. Both ends run GNU/Linux. On the client end: ssh -f -w 0:any example.com true ifconfig tun0 192.168.0.20 broadcast 192.168.0.255 netmask 255.255.255.0 On the server end: ifconfig tun0 192.168.0.1 up route add 192.168.0.20 dev tun0 Authentication OpenSSH server can authenticate users using standard methods supported by the SSH protocol: These methods often make use of authentication methods native to the host operating system. This can include using the BSD authentication system (bsd auth) or PAM to enable authentication through methods such as one time passwords. An unfortunate side-effect of using PAM with OpenSSH is that it must be run as root when PAM support is enabled, as root privileges are typically required to operate PAM. OpenSSH versions after 3.7 allow the usage of PAM to be disabled at run-time, so regular users can run sshd instances. Misconceptions Because of the prefix Open- on its name, OpenSSL, which is a dependency of OpenSSH, is often associated with OpenBSD; which distributes several programs using the naming style of Open Books See also | |||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||
![]() |
|
| |