Answer the question
In order to leave comments, you need to log in
How to copy ssh key to new system?
I have my laptop in which I have access to the server via ssh, I recently decided to switch completely to a stationary computer and simply copied the .ssh folder to access the server, but I couldn’t get access in this way, an error occurs
The authenticity of host 'имя хоста' can't be established.
ECDSA key fingerprint is SHA256:UUDyM0F3U3WU/Pkdrsdfo4aZxecdsffFpeyM5ZtQKpp5Qn3d7k.
Are you sure you want to continue connecting (yes/no)?
Answer the question
In order to leave comments, you need to log in
After copying, it is necessary to set the permissions of the key to 600
chmod 600 ~/.ssh/id_rsa
Well, as noted above, you must accept the host as trusted by pressing "yes"
Are you sure you want to continue connecting (yes/no)?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question