call the authorized_keys file authorized_keys2

say "yes" at that point as long as your are sure that it is the server you are trying to connect to.

-Jon "GenKiller" Gaudette

[EMAIL PROTECTED] wrote:
Hi!!!! I'm very confused because I can't get that my ssh work with the
authorized_keys file. I'd created the identity file and the identity.pub
file in the ~/.ssh/ running the ssh-keygen command, after this, I copied
the identity.pub file to the remote machine (the server sshd) and I make a:
"cat identity.pub >> ~/.ssh/authorized_keys" on the remote machine. I think
that it is all I have to do to work it, However, here is the error that I
got:   


[user1@node-b .ssh]$ ssh -v node-a
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 1003 geteuid 0 anon 1
debug1: Connecting to node-a [192.168.58.201] port 22.
debug1: Connection established.
debug1: identity file /home/user1/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version
OpenSSH_2.5.2p2
debug1: match: OpenSSH_2.5.2p2 pat ^OpenSSH
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-group-exchange-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-rsa,ssh-dss
debug1: got kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[EMAIL PROTECTED]
debug1: got kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[EMAIL PROTECTED]
debug1: got kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
debug1: got kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
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 aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.
debug1: Wait SSH2_MSG_KEX_DH_GEX_GROUP.
debug1: Got SSH2_MSG_KEX_DH_GEX_GROUP.
debug1: dh_gen_key: priv key bits set: 130/256
debug1: bits set: 1019/2049
debug1: Sending SSH2_MSG_KEX_DH_GEX_INIT.
debug1: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug1: Got SSH2_MSG_KEXDH_REPLY.
The authenticity of host 'node-a (192.168.58.201)' can't be established.
RSA key fingerprint is 2c:31:1e:22:28:7a:af:e0:93:a8:b1:55:85:e4:4c:3d.
Are you sure you want to continue connecting (yes/no)? no
Aborted by user!

 
Tips: node-a = remote machine, node-b = client, I'm using redhat 7.1

I hope your help as soon as possible.... Thanks...




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

  

--
-Jon "GenKiller" Gaudette
DDN Webmaster
|   http://www.digital-drip.com
CNCNZ Co-Webmaster
|   http://www.cncnz.com
APS Co-Webmaster
|   http://auburn.k12.ma.us

_______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to