1822320 Members
5553 Online
109642 Solutions
New Discussion юеВ

ssh issue on hp-ux 11.0

 
SOLVED
Go to solution
Nyck_1
Super Advisor

ssh issue on hp-ux 11.0

I have an old J5600 which seems to have ssh installed but not quite configured correctly. When I attempt to start the sshd it fails with the following message:-

/usr/local/sbin/sshd &
[1] 29914
(garion) loncons7:/usr/local/etc# Could not load host key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

I have run a search and these keys do not exist, can someone remind me of the syntax for ssh-keygen?

I have done this on Solaris but not on HP-UX.
6 REPLIES 6
Sharma Sanjeev
Respected Contributor
Solution

Re: ssh issue on hp-ux 11.0

Hi Nyck

Please find attached the complete Procedure

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Steven E. Protter
Exalted Contributor

Re: ssh issue on hp-ux 11.0

shalom,

ssh-keygen -t dsa

or

ssh-keygen -t rsa



Make sure ownership of the home directory is the user and perms match a working system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Anshumali
Esteemed Contributor

Re: ssh issue on hp-ux 11.0

ssh-keygen -t dsa
ssh-keygen -t rsa
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Jeeshan
Honored Contributor

Re: ssh issue on hp-ux 11.0

see the attachment

a warrior never quits
Nyck_1
Super Advisor

Re: ssh issue on hp-ux 11.0

As usual an excellent response from all, thankyou very much to all who responsed and as soon as I get the chance I will give it a go and let you know the outcome:-)
Nyck_1
Super Advisor

Re: ssh issue on hp-ux 11.0

Its working fine now, I did the following:-

ssh-keygen -t dsa
ssh-keygen -t rsa
ssh-keygen -t rsa1