My laptop got stolen 2 days ago. So I can no longer connect to my Debian 8 VM through SSH since the only key was gone with that laptop and I did not have a backup. Now I can only get connected to this VM by Vsphere client 6.0 console running on my Windows 7 PC. I can see the public and private key files located in $~/.ssh folder, but how can I copy them to my Windows PC to make the duplication? I'm deeply thankful if anyone can help me through.
Hi for those have the same problem as I had, I tell you how I got it resolved. Inside the Vsphere client 6.0 console, I installed a " mail transfer agents (MTA)" called mutt into the Debian 8 VM.
# apt-get install mutt (For Debian / Ubuntu based system)
Then use the link below to configure mutt.
Install and Setup Mutt Email Client on Ubuntu - The Technology Geek
When the mutt is working now. Send the targeted file by the following command through email attachment.
$mutt -s "Your subject here" recipient-email-here@gmail.com -a ~/.ssh/rsa
Be noted, your rsa should be chmod-ed opened for the operation. I just got it chmoded to 777 temporarily.
Good luck and fairwell.
Hi for those have the same problem as I had, I tell you how I got it resolved. Inside the Vsphere client 6.0 console, I installed a " mail transfer agents (MTA)" called mutt into the Debian 8 VM.
# apt-get install mutt (For Debian / Ubuntu based system)
Then use the link below to configure mutt.
Install and Setup Mutt Email Client on Ubuntu - The Technology Geek
When the mutt is working now. Send the targeted file by the following command through email attachment.
$mutt -s "Your subject here" recipient-email-here@gmail.com -a ~/.ssh/rsa
Be noted, your rsa should be chmod-ed opened for the operation. I just got it chmoded to 777 temporarily.
Good luck and fairwell.