You are not logged in.
Shit, I just did something really retarded...
I set up an RSA key on a remote server via ssh for a friend, emailed them the PUBLIC key, not the private one (oops!), then deleted the private key from my hard disk!
Is there any way to recover it?
Edit: I just read something about grep-ing the device:
dave@kaminoitte:~$ sudo grep id_rsa /dev/hdd6
Binary file /dev/hdd6 matches
...but what the hell do i do with that?
.oO Komodo Dave Oo.
Offline
I'm pretty sure you need to grep for a string that is contained within the file, rather than the filename. I think in your case grepping for the file is no good because your unlikely to know a string of characters from the key
Theres some interesting info in this thread from LinuxQuestions. In particular: post 11
Offline
I'm pretty sure you need to grep for a string that is contained within the file, rather than the filename. I think in your case grepping for the file is no good because your unlikely to know a string of characters from the key
Theres some interesting info in this thread from LinuxQuestions. In particular: post 11
Cheers for the info; I gave up in the end. I did
grep --binary-files=text -i ssh-rsa /dev/hdd5 > output.txt
and left it going for as long as i could bear (5 hours or something), but i only got the public key sadly, which isn't much use
oh well.
.oO Komodo Dave Oo.
Offline