Solaris Package Archive -- openssh 4.0p1

Solaris Package Archive

openssh 4.0p1

Mark <>

What is it (from
OpenSSH is a FREE version of the SSH suite of network connectivity tools that increasing numbers of people on the Internet are coming to rely on. Many users of telnet, rlogin, ftp, and other such programs might not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other network-level attacks. Additionally, OpenSSH provides a myriad of secure tunnelling capabilities.

The OpenSSH suite includes the ssh program which replaces rlogin and telnet, and scp which replaces rcp and ftp. Also included is sshd which is the server side of the package, and the other basic utilities like ssh-add, ssh-agent, and ssh-keygen. OpenSSH supports protocol versions 1.3, 1.5, and 2.0.

OpenSSH is primarily developed by the OpenBSD Project, The software is developed outside the USA, using code from roughly 10 countries, and is freely useable and re-useable by everyone under a BSD license.

The main site for OpenSSH is

Email To

Solaris Issues
If you are installing the 64 bit OpenSSH packages on your machine you will need to configure your PAM authentication system to use the 64 bit modules, otherwise the default 32 bit setup will not let you log in.

This is not an issue on the default 64 bit OS releases.

Edit the file /etc/pam.conf and add these lines:

    sshd    auth required /usr/lib/security/sparcv9/
    sshd    account required /usr/lib/security/sparcv9/
    sshd    password required /usr/lib/security/sparcv9/
    sshd    session required /usr/lib/security/sparcv9/
These lines are from personal experience. I don't expect any issues but if you do encounter any problems please contact me with any updates.

Click here to read about the 32 bit and 64 bit Solaris 7 and 8 packages.

Source Code
You can download the source code from

Special Issues
You should also install openssl.0.9.7g and zlib.1.2.3 when you install this software.

You also need to run these commands after installing the packages but before running the software:
mkdir /var/run
mkdir /var/empty
useradd -c "SSHD User" -s /bin/false -d / sshd
passwd -l sshd
/usr/local/bin/ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
/usr/local/bin/ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
/usr/local/bin/ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""
See the main packages README for installation information.