[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

AW: openssh problem



> I copied the files $HOME/.ssh/identity.pub,
>
> copy it to ~/.ssh/authorized_keys of the remote.
>
> $HOME/.ssh/id_dsa.pub and
>
> copy this one to ~/.ssh/authorized_keys2 of the remote
>
> Then connect using
>
>	ssh -v  REMOTEHOST
>
> so you can see any complaints about permissions, etc.
>
> --
> Jan Carlson                                 janc at kubwa dot com

Thanks for the hint. I copied id_dsa and id_rsa to the remote host and
inserted the contents into ~/.ssh/authorized_keys2. But is does not work:

[trinoga stnjoi2 ~]$ ssh -v stnjoi date
OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: getuid 1002 geteuid 0 anon 1
debug1: Connecting to stnjoi [172.17.104.9] port 22.
debug1: Connection established.
debug1: identity file /home/trinoga/.ssh/identity type 0
debug1: identity file /home/trinoga/.ssh/id_rsa type 1
debug1: identity file /home/trinoga/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version 2.4.0 SSH
Secure
Shell (non-commercial)
debug1: match: 2.4.0 SSH Secure Shell (non-commercial) pat ^2\.[2-9]\.
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.5.2p2
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit: diffie-hellman-group1-sha1
debug1: got kexinit: ssh-dss
debug1: got kexinit:
3des-cbc,blowfish-cbc,twofish-cbc,arcfour,cast128-cbc,3des-ecb,3des-cfb,3des
-ofb,cast128-ecb,cast128-cfb,cast128-ofb,cast128-12-ecb,cast128-12-cbc,cast1
28-12-cfb,cast128-12-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-
cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb
debug1: got kexinit:
3des-cbc,blowfish-cbc,twofish-cbc,arcfour,cast128-cbc,3des-ecb,3des-cfb,3des
-ofb,cast128-ecb,cast128-cfb,cast128-ofb,cast128-12-ecb,cast128-12-cbc,cast1
28-12-cfb,cast128-12-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-
cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb
debug1: got kexinit:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160-96
,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160
debug1: got kexinit:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160-96
,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160
debug1: got kexinit: none,zlib
debug1: got kexinit: none,zlib
debug1: got kexinit:
debug1: got kexinit:
debug1: first kex follow: 0
debug1: reserved: 0
debug1: done
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: Sending SSH2_MSG_KEXDH_INIT.
debug1: dh_gen_key: priv key bits set: 177/384
debug1: bits set: 513/1024
debug1: Wait SSH2_MSG_KEXDH_REPLY.
debug1: Got SSH2_MSG_KEXDH_REPLY.
debug1: Host 'stnjoi' is known and matches the DSA host key.
debug1: Found key in /home/trinoga/.ssh/known_hosts2:1
debug1: bits set: 494/1024
debug1: len 55 datafellows 0
debug1: ssh_dss_verify: signature correct
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,password
debug1: next auth method to try is publickey
debug1: try pubkey: /home/trinoga/.ssh/id_rsa
debug1: authentications that can continue: publickey,password
debug1: try pubkey: /home/trinoga/.ssh/id_dsa
debug1: authentications that can continue: publickey,password
debug1: next auth method to try is password
trinoga stnjoi's password:






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]