Move ssh folder from win 10 to ubuntu
Если вы перенесли папку с ключами из винды в убунту и у вас при соединении с сервером вылетает ошибка
, то делайте так:
Run ssh-add on the client machine, that will add the SSH key to the agent.
Confirm with ssh-add -l (again on the client) that it was indeed added.
Set permissions for files:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
thanks:
https://stackoverflow.com/a/44250739/1577548
https://stackoverflow.com/a/50773234/1577548