Re: Passwordless login via SSH
- From: phil-news-nospam@xxxxxxxx
- Date: 15 Apr 2008 15:26:03 GMT
On Mon, 14 Apr 2008 22:25:24 -0400 Richard E. Silverman <res@xxxxxxxx> wrote:
|>>>>> "RR" == Roman Ratnaweera <roman@xxxxxxxxx> writes:
|
| RR> I don't know why I hardly ever get answers to my questions.
| RR> Either they are too stupid or too specific... or something else is
| RR> wrong.
|
| >> I'm using passwordless logins to remote computers successfully for
| >> "normal" PCs. (guide on http://www.tux.org/~tbr/rsync/) With my
| >> freecom Network attached storage running OpenSSH_4.5p1, OpenSSL
| >> 0.9.7m 23 Feb 2007 however, it doesn't work. (guide on
| >> http://www.openfsg.com/index.php/Ssh_without_passwords)
|
| RR> Anyay, for the record, I stumbled across the solution on a wiki.
| RR> I knew that .ssh and authorized_keys had to have chmod 700 and 600
| RR> respectively. But it seems for the mentioned NAS gadget, that is
| RR> not enough. It acutally requires the user's home directory to be
| RR> 700 as well. I have no idea why this is so.
|
| So that others can't subvert your security by simply renaming, deleting,
| or replacing your ~/.ssh.
And how does read-only access enable that? The only things I am aware of
that need protection from reading are the non-public keys.
My home directory is 755 and that works fine. If it were 775 then someone in
my group could juggle around some directory he found that could, if renamed
as ".ssh", permit her to login as me. Reality is, I use personal groups for
only my own userids. But sshd doesn't know that because other systems might
have different userids in a group that shouldn't login as each other. But
permissions of 755 on the home directory should be fine.
--
|WARNING: Due to extreme spam, I no longer see any articles originating from |
| Google Groups. If you want your postings to be seen by more readers |
| you will need to find a different place to post on Usenet. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
.
- References:
- Re: Passwordless login via SSH
- From: Roman Ratnaweera
- Re: Passwordless login via SSH
- From: Richard E. Silverman
- Re: Passwordless login via SSH
- Prev by Date: Re: Wikipedia
- Next by Date: skipping local passwd check
- Previous by thread: Re: Passwordless login via SSH
- Next by thread: Issue with banner in sshd
- Index(es):
Relevant Pages
|
|