Operating System - HP-UX
1834150 Members
3584 Online
110064 Solutions
New Discussion

HP-UX Secure Shell on 11.11

 
SOLVED
Go to solution
tony escujuri_2
Occasional Contributor

HP-UX Secure Shell on 11.11

Hello out there.

I'm having a tought time figuring this one out. I have about 30 11.0 systems running HPUX.. openssh and all allow for hostbased (authorized_keys) access .. no password required.

But the 2 11.11 systems I have will not allow this function. By default on the 11.0 machine s which are running HPUX Secure Shell version of T1471AA_A.03.10.002_HP-UX_B.11.00_32+64

TIA and Regards,
Tony Escujuri
tony@unixadm.net




HP-UX Secure Shell
Product #: T1471AA
Version: A.03.50.000


7 REPLIES 7
tony escujuri_2
Occasional Contributor

Re: HP-UX Secure Shell on 11.11

Here is the currently sshd_config we are running.

Any assitance on this would be moe than appreciated.

Regards,
Tony
tony escujuri_2
Occasional Contributor

Re: HP-UX Secure Shell on 11.11

 
Andrew Cowan
Honored Contributor
Solution

Re: HP-UX Secure Shell on 11.11

Hi Tony,

At a stab I would say you have created a DSA type key and stored it as though it was RSA (or visa-versa). The other problem could be caused if you used a text editor that has added control-characters and it is confusing SSH.

The best bet is to delete all your host keys on the effected hosts, and then start again.

Good luck,
Andrew
Sridhar Bhaskarla
Honored Contributor

Re: HP-UX Secure Shell on 11.11

Hi Tony,

debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: external-keyx,gssapi,publickey,password,keyboard-interactive,hostbased
debug1: try privkey: /root/.ssh/id_dsa
debug3: no such identity: /root/.ssh/id_dsa


Looks like you still have to setup your public/private key pairs. It complains about no such identity. You will need to add the id_dsa.pub to the authorized_keys on the destination server (yahoo.com).

I may friendly remind you not to disclose any of your company related information for security reasons. You could replace them with dummy names.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Carlos Maldonado
New Member

Re: HP-UX Secure Shell on 11.11

I don't know for sure, since I'm not at the office right now but you should try de-commenting this line

#PubkeyAuthentication yes

and if it doesn't work adding this

RSAAuthentication yes

I hope it helps (points will be appreciated if it does ;-) )

regards
Truth Addict
Steven E. Protter
Exalted Contributor

Re: HP-UX Secure Shell on 11.11

I am attaching a word doc that tells you exactly how to set up and exchange those public keys.

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
tony escujuri_2
Occasional Contributor

Re: HP-UX Secure Shell on 11.11

All it was the perms on the /root directory. changed to 700 and everything is doing perfect now. Thanks for the assistance.

Regards,
Tony