错误: Permissions 0666 for ‘/home/local/deparks/.ssh/id_rsa’ are too open.
Permissions 0666 for ‘/home/local/deparks/.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.
bad permissions: ignore key: /home/local/deparks/.ssh/id_rsa
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法: chmod 600 /home/local/deparks/.ssh/id_rsa
rsa key生成方法: ssh-keygen -t rsa
deparks@srv-compile:~$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/local/deparks/.ssh/id_rsa):
Created directory ‘/home/local/deparks/.ssh’.
Enter passphrase (empty for no passphrase): [enter]
Enter same passphrase again: [enter]
Your identification has been saved in /home/local/deparks/.ssh/id_rsa.
Your public key has been saved in /home/local/deparks/.ssh/id_rsa.pub.
The key fingerprint is:
fa:c5:a4:e5:95:06:86:94:bb:79:44:59:58:e8:15:e5 deparks@srv-compile
The key’s randomart image is:
±-[ RSA 2048]----+
2609

被折叠的 条评论
为什么被折叠?



