install openssh in HP-UX

by
Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0StumbleUpon0

The  ssh server is  not  standart  in de  Hp-UX ,  lets give  some  steps   to  download  it  and  start  it  exactly

Download  these  packages:

zlib-1.2.3.sl
OpenSSH xxxx

OpenSSL xxxx

from   http://www.cmve.net/merijn/downloads.html  or  from  http://h20392.www2.hp.com/portal/swdepot/index.do

Extract zlib-1.2.3.sl and rename to libz.sl
Move to correct directory: mv libz.sl /usr/local/lib/

make a  symbolik  link between  /usr and   /usr/pro   (ln  -s)

change  permission of  this   file

chmod 755 /usr/local/bin/libz.sl

Now  install  the  openssk and openssh  wity  :

swinstall -s /full/path/openssl-0.9xxxxxxx.sd
swinstall -s /root/temp/openssh-5xxxxxxx.sd

 

The sshd daemon is preconfigured and starts after installation. The swinstall command installs HP-UX Secure Shell in the/opt/ssh/etc directory.

The /opt/ssh/etc directory contains the following files:

  • moduli

  • ssh_host_key

  • ssh_prng_cmds

  • ssh_config

  • ssh_host_key.pub

  • sshd_config

  • ssh_host_dsa_key

  • ssh_host_rsa_key

  • ssh_host_dsa_key.pub

  • ssh_host_rsa_key.pub

 

Verify if  the package is  installed  with  :

 swlist │ grep T1471AA

The following output is displayed if the HP-UX Secure Shell software is installed successfully on your system:

T1471AA     A.04.40.005     HP-UX Secure Shell

 

the  deamon of  openssh  is  in  /sbin/init.d/secsh

you can stop start or  start  with  /sbin/init.d/secsh  stop|start|restart .  for old  HP-UX version   start  deamon here :

/usr/local/sbin/sshd &

{loadposition user9}

Related Articles By Tags :

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0StumbleUpon0