Since Linux is all about choices we have provided as an alternative the commercial verion of OpenSSH, The SSH2 and these installation instructions assume
Commands are Unix-compatible.
The source path is /var/tmp, other paths are possible.
Installations were tested on Red Hat Linux 6.1 and 6.2.
All steps in the installation will happen in super-user account root.
SSH2 version number is 2.0.13
Packages that you need can be downloaded from:
once you have got the Tarballs, It is a good idea to make a list of files on the system before you install ssh2, and one afterwards, and then compare them using diff to find out what file it placed where. Simply run
find /* > SSH1 before and find /* > SSH2 after you install the software, and use diff SSH1 SSH2 > SSH-Installed
to get a list of what changed.
Before you Compile, you need to decompress the tarball tar.gz.
You need to Compile and Optimize so move into the new SSH2 directory and type the following commands on your terminal:
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
This tells SSH2 to set itself up for this particular hardware setup as follows:
Leave out ssh-agent1 compatibility.
Install ssh-signer without suid bit.
Disable port forwarding support.
Disable X11 forwarding support.
Enable TCP_NODELAY socket option.
Compile in libwrap tcp_wrappers support.
The make clean, command erase all previous traces of a compilation so as to avoid any mistakes,
The make command compiles all source files into executable binaries,
The make install command installs the binaries and any supporting files into the appropriate locations.
Please don't forget to cleanup after work:
command as used above will remove all the source files we have used to compile and install SSH2. It will also remove the SSH2 compressed archive from