LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-16-2008, 05:39 AM   #1
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Rep: Reputation: 16
A question about rsa host key fingerprints


I use the following command to check the fingerprint of my rsa host key of my linux box at my office.
Quote:
ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
The results is a sixteen groups of hexadecimal numbers separated by ":", like the following (example only, not true)
Quote:
cb:9f:53:0b:6a:17:93:c0:58:aa:89:be:19:2c:76:29
Later on I went back home and use my Windows XP (installed with SSH Secure Shell) to connect to my linux box at my office for the first time. It then asked me whether to store the host key with a fingerprint .......

However, that fingerprint is an eleven 5-character sequence separated by hyphen. For example, like the following (just an example, not true):
Quote:
xivod-rhcfu-nfjwe-tqkbv-fhwei-jowfc-hkwbx-qowen-qfblz-ytbgo-wugvn
They are different! Even a blind man can tell this! But I expect them to be the same! Can any one tell me what's going on? And how can I verify that the fingerprint I received on the home machine (MS Windows) is the same as that on the remote host (linux box at my office)?
 
Old 07-16-2008, 03:54 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Windows is different.
Windows doesn't always do things properly.
I just use linux, so I know what is going on.
Perhaps you should ask this question in a windows forum?
 
Old 07-16-2008, 04:04 PM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Quote:
Originally Posted by tredegar View Post
Windows is different.
Windows doesn't always do things properly.
I just use linux, so I know what is going on.
Perhaps you should ask this question in a windows forum?
This is a ridiculous response.

Quote:
Originally Posted by lawrence_lee_lee
They are different! Even a blind man can tell this! But I expect them to be the same! Can any one tell me what's going on? And how can I verify that the fingerprint I received on the home machine (MS Windows) is the same as that on the remote host (linux box at my office)?
Which SSH client were you using on Windows? Which version of SSH does it support?
 
Old 07-16-2008, 04:10 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
This is a ridiculous response.
Mr. C, you are correct.
You have been helpful to me in the past (and received my thanks), so over to you now
 
Old 07-16-2008, 04:18 PM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Quote:
Originally Posted by tredegar View Post
Mr. C, you are correct.
You have been helpful to me in the past (and received my thanks), so over to you now
Don't get me wrong - 90% of the time I too want to bark at Windows, and often don't bite my tongue when I should have, so I hear where you're coming from! No harm. :-)
 
Old 07-16-2008, 04:33 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Off topic:
Thanks Mr.C, I think I'm grumpy right now. Apologies.
If I cannot be helpful, then it's time to logout.
 
Old 07-16-2008, 10:22 PM   #7
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Original Poster
Rep: Reputation: 16
My ssh client used in Window XP machine is:
Quote:
SSHR Secure Shell (TM)
Version: 3.2.9 (Build 283)
Product code: 27010-32X00
 
Old 07-16-2008, 11:46 PM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
I don't know SSH Corporation's products well (is that version old?):

The 5 x 11 char string is SSH Corporation's default Babble format. See:

http://www.ssh.com/support/documenta...eygen-examples
http://www.ssh.com/support/documenta...-keyfetch.html
 
Old 07-17-2008, 09:58 PM   #9
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Original Poster
Rep: Reputation: 16
Thank you! I now at least have some ideas what's going on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple ssh tunnels and bad key fingerprints theNbomr Linux - Networking 2 06-14-2008 08:15 PM
How can i import my RSA key ZAMO Linux - General 6 06-03-2008 04:21 AM
RSA host key for 172.17.5.60 has changed ssharma_02 Red Hat 3 11-15-2006 09:55 AM
SSH rsa key PB0711 Linux - Security 3 09-10-2006 03:57 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM


All times are GMT -5. The time now is 11:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration