Open_ssh installation instruction ?

Hi ,

Currently the machine (solaris 10 ) is running with Sun_ssh. I would like to move to Open_ssh.

I went through google.

Each link shows different directions/ways to install openssh. I am not sure which one to follow .

Installing OpenSSH Packages - SPARC and Intel x86/Solaris 9 and 10

OpenSSH Solaris 10 - The Frustrated Sys Admin - Confluence

How to Install OpenSSH in Sun Solaris 10

lazy, impatient, and hubristic: Install OpenSSH 5.9p1 on Solaris 10 x86

Only the first part is same " download and isntall the packages". The second part varies in above links :confused:.

Thanks in advance,
Frinto

Steps for compiling and deploying the OpenSSH
download the openssh source from the web. then compile and deploy the openssh software.

Step 1:
Need to run the configure.
./configure --prefix=<path to deploy openssh> --with-pam --with-ssl-dir=<openssl> --with-ssl-engine --with-zlib=<zlib path>

  • you can run the configure without --with-pam --with-ssl-dir=<openssl> --with-ssl-engine --with-zlib=<zlib path>
    This flags are aditional optional falgs. See the INSTALL file for more details

Step 2:
run the make utility to compile the openssh source
--> make
Step 3
deploy the openssh by running the below command
make install

Prerequists:

  • create sshd user before you start compiling it.
  • Ensure "cc" compiler in path
    *Ensure "make" utility in path. its available /usr/bin/ccs (not sure about the path)

Thanks
Kalai