git - Default directory for ssh key files changed to /.ssh
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:42:01
0
1
626

Use ssh-keygen to generate keys and public keys. The default directory is //.ssh/id_rsa. I manually changed it to ~/.ssh/. When using git push to submit the code for the first time, you need to create a new know_list file. , but this time it prompts that /.ssh/ does not have permissions. How can I let git know that my current key and public key are in the home directory, not the root directory? (PS: No root permissions)

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
Peter_Zhu

The default configuration file of ssh client is /etc/ssh/ssh_configYou can check whether this file has special configuration

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template