cardassianscot Posted May 14, 2004 Report Share Posted May 14, 2004 (edited) I cannot use ssh to log in when my home directory permissions are set to 770, I have to all all users read access to my directory to get it to work. I have only allowed ssh to use key files not the users password and I use 9.2. Is there anyway round this, so that anyone not in my group cannot enter my home directory but I can use ssh (with keys) to login? Thanks Edited May 14, 2004 by cardassianscot Quote Link to comment Share on other sites More sharing options...
Guest anon Posted May 14, 2004 Report Share Posted May 14, 2004 Not sure i understand you :unsure: If you do ssh root@blablabla you can access any directory. Quote Link to comment Share on other sites More sharing options...
tyme Posted May 14, 2004 Report Share Posted May 14, 2004 it sounds like since you aren't authenticating then you aren't get permissions of your user, you're getting permissions of the "user" group. if you want access to your home directory w/o changing the permissions, you're going to have to login as a user. Quote Link to comment Share on other sites More sharing options...
cardassianscot Posted May 14, 2004 Author Report Share Posted May 14, 2004 OK, solved the problem. But first some clarification. I want to ssh in as a user to my own account. However, it wasn't the lack of world readability or executablitity that was causing the problem. It was making my home directory writable by members of my group. This isn't a problem, I can disable group writing without any bother. Thanks anyway. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.