change the user
sudo chown -R $USER:$USER /home/$USER/.ssh
update the permission
sudo chmod 700 /home/$USER/.ssh Reference https://askubuntu.com/questions/1218023/copying-ssh-key-from-root-to-another-user-on-same-machine
change the user
sudo chown -R $USER:$USER /home/$USER/.ssh
update the permission
sudo chmod 700 /home/$USER/.ssh Reference https://askubuntu.com/questions/1218023/copying-ssh-key-from-root-to-another-user-on-same-machine
0 Comments
Post a Comment