Re: SFTP/SCP connection prob



Hello,

file permission for $home\.ssh\authorized_keys is 644
and direcotry permission for $home\.ssh is 777

Here is my log after
ssh -v -v user1@host2

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
user1@host2's password:

Moe Trin wrote:
On 27 Sep 2006, in the Usenet newsgroup comp.security.unix, in article
<1159350942.384632.141590@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, 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)

http://www.distrowatch.com/ lists over 350 different distributions of
Linux, and that doesn't include version numbers. http://www.unix.org
lists 10 products under the UNIX 03 standard, 18 under the UNIX 98
standard, and 10 under UNIX 95. Think it might be an idea to mention
which versions you are using?

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

And what happens exactly? Does the computer catch on fire?

Is anybody know any reason for this ?

Yes, you haven't done your homework and made several mistakes. Try looking
in the logs, and seeing what the error messages are.

Old guy

.



Relevant Pages

  • Problem: passwordless login with Kerberos doesnt work
    ... I installed 2 testmachines, configured MIT Kerberos, LDAP and PAM and got to the point where we all can login on to the SSH server using our Active Directory credentials. ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Offering GSSAPI proposal: ...
    (comp.security.ssh)
  • Problem: passwordless SSH-login with Kerberos doesnt work
    ... I installed 2 testmachines, configured MIT Kerberos, OpenLDAP and PAM and got to the point where we all can login on to the SSH server using our Active Directory credentials. ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Offering GSSAPI proposal: ...
    (comp.protocols.kerberos)
  • Re: openssh + kerberos + windows ad
    ... GSSAPIAuthentication yes ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Authentications that can continue: ...
    (comp.protocols.kerberos)
  • RE: openssh + kerberos + windows ad
    ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Authentications that can continue: ... we sent a gssapi-with-mic packet, ...
    (comp.protocols.kerberos)
  • openssh + kerberos + windows ad
    ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Authentications that can continue: ... we sent a gssapi-with-mic packet, ...
    (SSH)