Open flyskywhy opened 8 years ago
Currently Linux permissions are no-ops in flinux so they won't work at all.
run chmod 400 /root/.ssh/id_rsa
400 will work
@jalasem , after chmod 400 /root/.ssh/id_rsa
, then ls -l /root/.ssh/id_rsa
, it's still rwxr-xr-x
, then still Permissions 0755 for '/root/.ssh/id_rsa' are too open
when git clone git@github.com:YourName/YourRepo.git
, so how 400 will work?
When I git clone any repository from github.com in flinux after
pacman -S git openssh
, the ssh will says:Then the git clone is aborted. And it's useless to
chmod 600 /root/.ssh/id_rsa
.