Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.