deleted the /root/.ssh folder - what should I do for for recovering the keys

Chris Smart mail at christophersmart.com
Tue Dec 22 22:13:30 UTC 2009


2009/12/22 Mark Ryden <markryde at gmail.com>:
> Hello,
>  I have a machine on which I deleted the /root/.ssh folder;
>

You might be able to recover them with tools like photorec from the
testdisk package. When you delete something it's not zeroed out, so
unless you write over that part of the disk again the data should be
recoverable.

Failing that, if you have physical access to the box then it shouldn't
be too hard to log in locally and copy over the new keys. If someone
else has root access on the boxes (even via su -) then you could do it
that way too.

-c




More information about the fedora-list mailing list