Google Plus

install openssh in HP-UX

Written by Mel Kham on . Posted in Unix Tutorials

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Dominik Bauer

|

thx a lot!

Maximiliano Osorio

|

Osom. Thank you.

Sam

|

Thanks much. It worked like a charm.

HailsandNails

|

Actually, what I see too much of, and what Microsoft actually (sorta) did with Windows 8 is think forward. And let’s be brutally honest. Windows 8 is actually NOT as bad as people is making it out, they’re just freakishly afraid of change (which Linux users are as well, it seems)

SK

|

Yes i will. Keep visiting. Subscribe us to get daily updates. Thanks for the comment

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .