openbmc / docs

OpenBMC Documentation
Creative Commons Attribution 4.0 International
258 stars 304 forks source link

Should the permission stays 744 for ~/.ssh/config ? #87

Open s82522658 opened 1 month ago

s82522658 commented 1 month ago

https://github.com/openbmc/docs/blob/8d4906ee410c0895d82229e5007135e34633aac4/development/gerrit-setup.md?plain=1#L62

Hi, I'm currently following your doc to setup my environment. Should this be changed to "chmod 600 ~/.ssh/ && chmod 744 ~/.ssh/config" to ensure the config file remains readable?

Thank you so much.

jk-ozlabs commented 4 weeks ago

0744 would imply executable, which we definitely don't want. Do you mean 0644?

Is there something that needs it to be group- or world- readable?