LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2015, 04:31 PM   #1
RobInRockCity
Member
 
Registered: Feb 2015
Posts: 141

Rep: Reputation: Disabled
Problem with Key Authentication


Am trying to set up SSH key authentication with my new VPS.

When I use CyberDuck to log in to my VPS, the "fingerprint" is not matching the one that was created when my keys were created and the connection is failing.

I am wondering if the problem is due to the fact that I ran ssh-keygen on my MacBook and then copied and pasted the Public Key into a webform in cPanel?

While my host allows you to generate the key pair on the VPS, it creates a security issue in that I would then have to find a safe way to get my Private Key back to my MacBook.

So, instead, I opted for the opposite approach and chose to create the key pair on my Mac - thus leaving the Private Key untouched on my Mac.

Any idea what is going on?


Rob
 
Old 02-18-2015, 09:53 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,394

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
You could try removing the entry for the VPS from your known_hosts file in your .ssh foider and try the connection again.

If you get any error messages then post the whole error message.
 
Old 02-18-2015, 01:20 PM   #3
RobInRockCity
Member
 
Registered: Feb 2015
Posts: 141

Original Poster
Rep: Reputation: Disabled
Someone mentioned that I need to get the fingerprint off of my VPS...

That leaves me with more questions...

1.) What makes up a Fingerprint?

Does it include things about the computer? Public/Private Keys? IP? My info?


2.) Does the Fingerprint every change? If so, why?


3.) How would I get the Fingerprint for my VPS?


4.) Why does ssh-keygen display a Fingerprint if that isn't the one I need to use?

Thanks,


Rob
 
Old 02-18-2015, 02:12 PM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,145

Rep: Reputation: 236Reputation: 236Reputation: 236
A fingerprint is a short, rapidly computable, hash of a piece of data where a strong cryptographic hash is not needed.
e.g. to identify a machine or ip address of a machine with a reasonable degree of probability.

Last edited by JeremyBoden; 02-18-2015 at 02:15 PM.
 
Old 02-18-2015, 02:40 PM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,365
Blog Entries: 11

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Quote:
Originally Posted by RobInRockCity View Post
Someone mentioned that I need to get the fingerprint off of my VPS...

That leaves me with more questions...

1.) What makes up a Fingerprint?

Does it include things about the computer? Public/Private Keys? IP? My info?


2.) Does the Fingerprint every change? If so, why?


3.) How would I get the Fingerprint for my VPS?


4.) Why does ssh-keygen display a Fingerprint if that isn't the one I need to use?

Thanks,


Rob
Have a look at http://www.phcomp.co.uk/Tutorials/Un...ngerprint.html
 
Old 02-18-2015, 03:03 PM   #6
RobInRockCity
Member
 
Registered: Feb 2015
Posts: 141

Original Poster
Rep: Reputation: Disabled
Thanks for the replies, but answers to my specific questions would be a better place to start.

Thanks,


Rob
 
  


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
SSH skips public key authentication for a key, but works with another key simopal6 Linux - General 1 07-06-2011 08:33 AM
problem with ssh key-based authentication kaplan71 Linux - Security 5 12-09-2009 10:34 AM
ssh public key authentication problem flgal3 Linux - Software 21 02-06-2009 11:15 AM
SSH - Problem with Public Key Authentication HaPagan Linux - Security 5 11-28-2005 11:27 PM
Public key authentication problem Gameon Linux - Security 7 01-02-2004 06:33 AM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration