Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I came across something I have never seen. Please remeber this is a new server. Normally when logging in with public/private key, I need to have the ~/.ssh/authorized as 0600 and i normal set the folder ~/.ssh/ to 0700 with out these ssh wont normally let me login. For what ever reason This time when I logged into this new server that i just setup and put a key but forgot to change permissions it still let me login. What flag should I be looking for in the /etc/ssh/sshd_config file?

share|improve this question
up vote 1 down vote accepted

The StrictModes option controls whether permission and ownership checks are performed.

share|improve this answer
and this should be set to "yes" to make sure permissions are checked? – WojonsTech Jul 31 '13 at 3:32
That is correct. – Ignacio Vazquez-Abrams Jul 31 '13 at 3:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .