Re: no password ssh
- From: phil-news-nospam@xxxxxxxx
- Date: 30 Jan 2008 02:30:53 GMT
On Tue, 29 Jan 2008 11:15:26 -0800 (PST) reg1ster@xxxxxxxxxxx wrote:
| I am trying to get ssh to work without prompting for a password.
| I can get this to work but there seems to be a quirk that I wanted to
| know if it was a known issue/feature.
|
| If I place my public rsa key into the authorized_keys file of another
| user on another server, I can not ssh to that user without being
| prompted for a password. However it seems that my user that I am
| ssh'ing with also exists on that other server then I am not prompted
| for a password. Even though I do not have the password for the same
| userid on the other server.
|
| Is this a feature or something ?
Not a feature. I login as other users quite often by using these keys.
This even includes root.
What you might check for is that the files in ~/.ssh for the target user
are correctly owned by that target user, and have all the correct modes
and permissions. If, for example, you logged in as root and copied the
key from user "abc" to the authorized_keys file of user "xyz", it may be
owned by "abc" instead of "xyz". In this case, sshd would correctly
ignore the file (OK, that part is a feature).
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-01-29-2027@xxxxxxxx |
|------------------------------------/-------------------------------------|
.
- References:
- no password ssh
- From: reg1ster
- no password ssh
- Prev by Date: Re: no password ssh
- Next by Date: Re: X11 Forward : entire desktop ?
- Previous by thread: Re: no password ssh
- Next by thread: Re: I've got Winbind working, now I want single-sign-on
- Index(es):
Relevant Pages
|
|