I have a host Windows operating system and I have my ssh keys setup on my windows machine to access github and other resources. Now I installed a guest Linux OS using VMware player. Can I re-use the private keys on the windows machine on the Linux machine? How do I let the Linux know where the private keys are located.
Assume you have VMware Tools installed in your VM: select your key file in Windows Explorer, copy it to clipboard, switch to VM and paste it.
Move it to ~/.ssh/ (if directory not present, create it with mkdir; it's hidden by default, so make sure to enable Show Hidden Files in Gnome File Explorer, or use ls -alF in terminal), rename it to id_rsa.
Enforce key file's permission: chmod 600 ~/.ssh/id_rsa (IMPORTANT, otherwise Linux would refuse to use this key file)
Okay you're all set. All commands will use your key file by default.