Operating System - HP-UX
1825770 Members
1994 Online
109687 Solutions
New Discussion

Re: Final inquiry on SSH and HP-UX

 
Belinda Dermody
Super Advisor

Final inquiry on SSH and HP-UX

I can not get publickey authenication to work between my PC using SSH2 and my HPUX system running OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f

Is there a incompatibility problem between the two. I have generated the DSA keys and have done the upload option from the PC which creates the .ssh2 directory on the HP system and populates it with the public key. But whenever I ssh to the HP-UX I always get prompted for a passwd. and see this error message in the -d option

Method 'publickey' disable.

I do have numerous Unix to Unix ssh running, but this is the first time that I have tried to do public key from PC to Unix.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Final inquiry on SSH and HP-UX

If permissions are correct on the HP side and the key was generated and populated correctly as per the instructions provided in your prior posts:

Then:

There may be a deffect in the software you choose for the PC.

You note yourself that Unix to unix transfer does work, which means the methdology and software on the Unix side is solid.

I'd still say check the docs and go to the latest openssh release on HP-UX but you probably have a lot of boxes and thats an onerous project.

Consider a different windows client. There are a couple of good free one of which I'm dabbling with at home. I'm not there now, but i may have rendered it as an option in other ssh posts in itrc.

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
James A. Donovan
Honored Contributor

Re: Final inquiry on SSH and HP-UX

Take a look at the man page for the ssh-keygen utility. It allows for the import/conversion of public/private keys written in different formats.
Remember, wherever you go, there you are...
Andrew Cowan
Honored Contributor

Re: Final inquiry on SSH and HP-UX

SSH has a key export and import facility that can convert between commercial SSH style keys, and the OpenSSH ones. As SEP said you can also use ssh-keygen.

The best method is to ditch commercial SSH and use Putty. Its free, and frankly better than the commercial stuff.

The other thing to check is that publickey is enabled in /etc/ssh/sshd_config. If you are still having problems try running the server in "Debug" mode. sshd -D.