Re: SFTP/SCP connection prob
- From: "umesh" <umesh.gamare@xxxxxxxxx>
- Date: 27 Sep 2006 22:56:23 -0700
Hello,
My file permission $home/.ssh/authorized_keys is 644
and dir permission for $home/.ssh is 777
myaccount is others for serverB
Here is snapshopt of log for
ssh -v -v myaccount@serverB
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: $home/.ssh/identity (0)
debug2: key: $home/.ssh/id_rsa (0)
debug2: key: $home/.ssh/id_dsa (82fd8)
debug1: Authentications that can continue: publickey,password,keyboard-
debug1: Next authentication method: publickey
debug1: Trying private key: $home/.ssh/identity
debug1: Trying private key: $home/.ssh/id_rsa
debug1: Offering public key: $home/.ssh/id_dsa
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-
debug2: we did not send a packet, disable method
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
myaccount@serverB's password:
Regards
Umesh
Bill Seligman wrote:
umesh wrote:
I want to connect Server A (linux server) & Server B (linux server)
which only supports SFTP/SCP protocal from server C (unix server)
I did the setup as per step given in thread "How to setup STFP in
solaris 8"
i copied "authorized_keys" in .ssh folder of $HOME in Server A & B
and now i can connect server A from server C without password prompt
but not able to connect server B from server C without password prompt
Is anybody know any reason for this ?
You may want to check that server B has the following set in its
/etc/ssh/sshd_config file:
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
If server A permits public-key authentication, and server B does not,
that would explain the difference.
You may also want to check the permissions of $HOME/.ssh on server B.
If .ssh is group- or world-readable, sshd won't use its contents.
As a diagnostic, you can also compare the output of the following
commands on server C:
ssh -v -v myaccount@serverA
ssh -v -v myaccount@serverB
If either of the suggestions I just made is correct, then you'll see the
difference in the double-verbose debug outputs.
.
- References:
- SFTP/SCP connection prob
- From: umesh
- Re: SFTP/SCP connection prob
- From: Bill Seligman
- SFTP/SCP connection prob
- Prev by Date: Re: SFTP/SCP connection prob
- Previous by thread: Re: SFTP/SCP connection prob
- Next by thread: Re: SFTP/SCP connection prob
- Index(es):
Relevant Pages
|