Operating System - HP-UX
1831320 Members
3009 Online
110023 Solutions
New Discussion

using ssh secure shell client to a hp-ux11

 
Karakaya
New Member

using ssh secure shell client to a hp-ux11

Hello all,

i have a question: I wanted to use the secure shell client from ssh.com to log on to a hp ux11 with public-key authentication.
I generated the keys and migrated the public-key to /home/user/.ssh and renamed it to authorized_keys2.

And now when i chose authentication with public key the server responds an error: no further authentication methods available.

Could somebody help me to solve this problem?

Best regards...
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: using ssh secure shell client to a hp-ux11

Looks like the server is not configured to support DSA protocol.

Look at the sshd_config on the server and see what is specified under Hostkey portion of sshd_config. Also look at PubkeyAuthentication and make sure it is yes.

You will get more information by running sshd in debug mode on the HP server. Run "sshd -d" and observe the debug output while connecting to the server.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: using ssh secure shell client to a hp-ux11

Also.. it happens if you are using a client that uses dynamic IP address. In which case, you will need to configure your sshd_config and make VerifyReverseMapping to "no".

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

Re: using ssh secure shell client to a hp-ux11

The Server supports DSA-Keys, cause i used it with an other client and there i used also a DSA keypair. I don`t think that the key is the problem.

Can i ever use the SSH Secure Shell Client from ssh.com t authenticate with the public-key on the HP-UX11?
Mark Fenton
Esteemed Contributor

Re: using ssh secure shell client to a hp-ux11

The client from ssh.com formats its keys slightly differently, so if you are generating the keypair on ssh.com's version, you may have to reformat it for use with hp's ssh server software. -- there should be instructions in ssh.com's documentation on how to do that.

I use public key authentication to/from ssh on hp-ux (openssh2) all the time with nary a problem. One other thing to look at would be to turn on debug mode (or simply run ssh with a few -v's) and watch the error messages it spits out. That way you'd know where the failure is occuring (wrong key being presented, key in wrong/unexpected format, whatever)

hth
Mark
Karakaya
New Member

Re: using ssh secure shell client to a hp-ux11

Yes, it`s right that the ssh.com client generates a different keypair.
I could convert this keypair on using openssh-server with "ssh-keygen -i -f mykey.pub >> authorized_keys2".
Is there such a command to convert the key on the HP-UX11?

Thanks
Karakaya
New Member

Re: using ssh secure shell client to a hp-ux11

I just get it.

Now i know how to use the SSH Secure Shell client from ssh.com. After uploading the key you have to convert the key on the server with the command "ssh-keygen -X". Then it`ll ask you after the keyfile. And there it is. The server prints a new key which you have to copy and paste onto an e.g. vi.editor and save it as authorized_keys2.
Thats it.


Best regards.