Today on in the windows Linux virtual machine system .ssh
folder copied directly into it, and test the connectivity github
ssh -T [email protected]
But tips
devid@Linux ~/workspace/blog_source $ ssh -T [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/home/devid/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/devid/.ssh/id_rsa": bad permissions
Permission denied (publickey).
Figure
Paste_Image.png
This problem is due to the question of powers, it is necessary to set file permissions:
chmod 600 *
Author: Devid
link: https: //www.jianshu.com/p/6ea77af2fd5b
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.