1833496 Members
2626 Online
110052 Solutions
New Discussion

Re: Openssh

 
Network Servers
Advisor

Openssh

I have installed OpenSSh on an N4000. The depot came form the HP-UX Ported Software site. It installed the software into /opt/openssh2.

I have gen'd keys in /opt/openssh2/etc

I am using PuTTY on an WIN2K client. Whenever I try to copy my public key to the N4000 server from my client, I get a fingerprint that does not match any fingerprint on my system.

I have an ssh_host_key.pub, ssh_host_rsa_key.pub, and an ssh_host_dsa_key.

None of the fingerprints from these host keys matches the one sent to me on my first connection attempt.

Can anyone tell me why. Any other system I have worked with gives me a matching fingerprint.
Don't fly off the handle when you are full of baloney...
2 REPLIES 2
Chris Calabrese
Valued Contributor

Re: Openssh

OpenSSH will generate SSHv2 style keys by default. Older versions of PuTTY can't handle SSHv2 stuff, so perhaps this is the problem. You can get the latest PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader
James Beamish-White
Trusted Contributor

Re: Openssh

I found that the key generator for GUI tools often does not match the key format required by openssh. Check the man pages for openssh (for example the key format for DSS and ssh2 is:

ssh-dss

and should be in ~/authorized_keys2)

You should check the format of the key generated by your GUI and edit it to conform to this sort of standard.
GARDENOFEDEN> create light