I am trying to copy an existing SSH key from my Windows machine to a CentOS 8 virtual machine running in VirtualBox. While I can establish an SSH connection to the CentOS VM, I’m having trouble copying the SSH key to it.
Tried copying the SSH key using (scp).
the key doesn’t seem to be copied correctly to the CentOS VM.
Can someone guide me on the correct steps to copy the SSH key from Windows to CentOS 8 in a VirtualBox VM? Any help would be greatly appreciated.
I tried to copy ssh key using scp and it’s not copying .I want to copy the key from windows to centos vm running in virtual box.
Dhanya Murlidharan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.