SSH, the Secure Shell/Installation
Contents |
[edit] Installation
There are two ways to install software. You can compile it from sources, which will give you access to compile-time options, or install it from a package.
[edit] Compilation
We will concentrate on the OpenSSH suite, because it is free, open source and popular. Sources can be obtained from www.openssh.org
[edit] Requirements
OpenSSH depends on the following:
- OpenSSL
- zlib
[edit] Installation from a package
Depending on your operating system, there are various ways one can install software.
[edit] Debian based systems
[edit] The whole suite
apt-get install ssh
[edit] The client and server can be installed separately
apt-get install openssh-client apt-get install openssh-server
[edit] FreeBSD
In most cases, you already have SSH installed on your FreeBSD system. Check by typing
which ssh
If, in return, you get something like "Command not found" you have to install SSH. We will install OpenSSH. To do it, simply type the following. Note, that other implementations of SSH (like SSH and SSH2) are also available.
[edit] Via ports
cd /usr/ports/security/openssh && make install clean
[edit] Via packages
pkg_add -r openssh
[edit] OpenBSD
Since OpenSSH is developed by the OpenBSD project, binaries should be included in the base system.
[edit] Windows
PuTTY is a SSH client for the Windows family of operating systems. No installation is needed, simply download the appropriate binary from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
This page may need to be