keeping the old public key (id_rsa.pub) when upgrading Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
  I have several fedora machines which I upgrade/reinstall, from time to time.

  I do this by reinstalling Fedora (I know that there is an upgrade
option for Fedora but I prefer to reinstall).
When doing so, the /root/.ssh folder is of course deleted.
Now, on some of these machine, I have a public key which is installed
on several servers to enable me
ssh access to these machines without typing the password.
The public key is generated thus:
ssh-keygen -t rsa
And it generates 2 files:
	id_rsa  and id_rsa.pub
And I paste the contents of id_rsa.pub to the server
/root./ssh/authorized_keys (or  /root./ssh/authorized_keys2).


Any idea if there is a way to keep the id_rsa.pub when reinstalling Fedora ?

(If I try  ssh-keygen -t rsa after reinstall, I am unable to ssh to
these servers.)

Regards,
Mark

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux