Re: Bizarre passwordless scp problem, help
- From: Cezary Morga <cezarym@xxxxxxx>
- Date: Tue, 20 Jun 2006 22:18:23 +0200
rsb-asp-google@xxxxxxxxxxxxx wrote:
Did you cache the private key on the client with ssh-agent or keychain?
How would I know?
Running ssh-agent or keychain ain't necessary for passwordless key-based ssh
to work.
Are the .ssh directory and authorized_keys file in the correct user's
home directory on the server?
Yes according to /etc/passwd, but I get the feeling that that is not
where ssh is being looked for it.
the authorized_keys must be placed in .ssh in home dir of a user you're
trying to log-in as. So, if you're using something like:
scp john@server
then the keys must be placed in john's home dir/.ssh. If you're trying:
scp server
then ssh will try to log-in as the user issuing the command from local
system. For example, if it's dave it'll try to log-in as dave, though keys
are placed in john's home dir.
If this is not an issue check your sshd_config file for fields like:
RSAAuthenticatio, PubkeyAuthentication, AuthorizedKeysFile and
PasswordAuthentication.
--
---
Cezary Morga
.
- Follow-Ups:
- Re: Bizarre passwordless scp problem, help
- From: Richard E. Silverman
- Re: Bizarre passwordless scp problem, help
- From: rsb-asp-google
- Re: Bizarre passwordless scp problem, help
- References:
- Bizarre passwordless scp problem, help
- From: rsb-asp-google
- Re: Bizarre passwordless scp problem, help
- From: Chuck
- Re: Bizarre passwordless scp problem, help
- From: rsb-asp-google
- Bizarre passwordless scp problem, help
- Prev by Date: Re: Bizarre passwordless scp problem, help
- Next by Date: Re: Bizarre passwordless scp problem, help
- Previous by thread: Re: Bizarre passwordless scp problem, help
- Next by thread: Re: Bizarre passwordless scp problem, help
- Index(es):
Relevant Pages
|
|