LinuxQuestions.org
Visit Jeremy's Blog.
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 05-01-2018, 01:56 PM   #1
krishnar
Member
 
Registered: May 2016
Posts: 32

Rep: Reputation: Disabled
Verify RSA public private key pair


Hello Experts,

Is there anyway I check and verify the key pair matches correctly.

Code:
[user@server .ssh]$ ll | grep id
-rwx------. 1 user domain users  1743 Oct 26  2017 id_rsa
-rwx------. 1 user domain users   451 May  1 09:39 id_rsa.pub
[user@server .ssh]$
Any help would be appreciated!
 
Old 05-01-2018, 02:17 PM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Try to use
Code:
ssh-keygen -y -e -m RFC4716 -f id_rsa
and compare the output brought in on long line to the significant part of id_rsa.pub
 
  


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
[SOLVED] Share SSH public/private key pair among all my systems? Z038 Linux - Security 2 06-06-2013 07:03 PM
SSH authentication using private/public key pair is not working out ksen.dil4u Linux - Software 2 05-29-2013 12:17 PM
SSH Public/Private key pair wh33t Linux - Security 4 10-10-2012 04:09 PM
pgp/openSSH/etc, should I use a single public/private key pair or different ones? Cultist Linux - Security 3 07-15-2011 05:29 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 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
Open Source Consulting | Domain Registration