Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions 0755 for '/root/.ssh/id_rsa' are too open #80

Open
flyskywhy opened this issue Jan 10, 2016 · 4 comments
Open

Permissions 0755 for '/root/.ssh/id_rsa' are too open #80

flyskywhy opened this issue Jan 10, 2016 · 4 comments

Comments

@flyskywhy
Copy link

When I git clone any repository from github.com in flinux after pacman -S git openssh, the ssh will says:

Permissions 0755 for '/root/.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 "/root/.ssh/id_rsa": bad permissions

Then the git clone is aborted.
And it's useless to chmod 600 /root/.ssh/id_rsa.

@wishstudio
Copy link
Owner

Currently Linux permissions are no-ops in flinux so they won't work at all.

@jalasem
Copy link

jalasem commented Dec 24, 2020

run chmod 400 /root/.ssh/id_rsa

@jalasem
Copy link

jalasem commented Dec 24, 2020

400 will work

@flyskywhy
Copy link
Author

@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 [email protected]:YourName/YourRepo.git, so how 400 will work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants