Jump to content

ssh and permissions


cardassianscot
 Share

Recommended Posts

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 by cardassianscot
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...