LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-26-2012, 09:32 AM   #1
ahlr
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Rep: Reputation: Disabled
Post How to migrate public and private keys to another computer?


I need to migrate my keys to another machine and make a secure backup. What better way to do this?
 
Old 10-26-2012, 10:12 AM   #2
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 225

Rep: Reputation: 33
You can simply copy them to the other computer via external media (if the computers are not connected) or via ssh over a network. If you are using a physical media, it should be encrypted for best security. For ssh keys, copying ~/.ssh will backup both your private and public keys. I can't recall where pgp keys are stored, possibly ~/.gpg for OpenPGP.
 
Old 10-26-2012, 12:55 PM   #3
qweasd
Member
 
Registered: May 2010
Posts: 436

Rep: Reputation: Disabled
Quote:
Originally Posted by ahlr View Post
I need to migrate my keys to another machine and make a secure backup. What better way to do this?
You may have to be more specific.

ssh configuration (which is used to authenticate remote shell connections, both incoming and outgoing) is stored in $HOME/.ssh/

gpg configuration (which is used to encrypt, decrypt, sign, and verify files) is stored in $HOME/.gnupg/
 
Old 10-26-2012, 01:01 PM   #4
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
I need to migrate my keys to another machine and make a secure backup. What better way to do this?
SCP Could be a best method of exchanging keys between two host.
 
  


Reply

Tags
gnupg, gpg


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
Public and Private Keys??? ajeetraina Linux - Server 2 05-10-2008 02:15 PM
question about private and public keys mac1234mac Linux - Security 25 04-13-2006 02:04 PM
ssh public/private keys lord_darkhelmet Linux - Newbie 8 10-29-2005 03:14 PM
Using GPG without public or private keys darin3200 Linux - Security 3 01-10-2005 03:40 AM
Help with SSH and public/private keys stodge Linux - Security 5 05-14-2003 01:22 PM


All times are GMT -5. The time now is 07:25 AM.

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