Hi David, Thanks for your help with this. I have a feeling that the problem might be the version of openssh?
On Machine A the openssh vers is openssh-2.5.2p2-5 which uses the ssh-keygen -t option but on machine B the vers is openssh-2.1.1p4-1 [root@B /root]# ssh-keygen -d dsa Too many arguments. Usage: ssh-keygen [-lpqxXydc] [-b bits] [-f file] [-C comment] [-N new-pass] [-P pass] Any clues? If I just create a rsa1 key and use ssh -1 i works no probs. Matt >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Matthew Simpson wrote: > >>ssh-keygen of A, this created 2 files .shh/identity and >>.ssh/identity.pub. Then I scp .ssh/indentity.pub to >>.ssh/authorized-keys on machine B. When I tried sshing from A to B I >>still get promt for passwd >> >>debug1: bits set: 509/1024 >>debug1: len 55 datafellows 144 >>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 privkey: /home/msimpson/.ssh/id_rsa >>debug1: try privkey: /home/msimpson/.ssh/id_dsa >>debug1: next auth method to try is password >> >>It doesn't seem to be taking any notice of the key I generated? > >Ah. Seems to be that you're using ssh protocol 2 (which is good) but >using an ssh protocol 1 key. Try generating your key with the flag >'-t dsa'. (I'm sure -d used to attain this result; looks like it >changed.) > >Cheers -d > >- -- >David Talkington > >PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp >- -- >http://setiathome.ssl.berkeley.edu/pale_blue_dot.html > >-----BEGIN PGP SIGNATURE----- >Version: PGP 6.5.8 >Comment: Made with pgp4pine 1.75-6 > >iQA/AwUBPHBL679BpdPKTBGtEQLTnACcDCi1aCRhQTeWxevIRxzJqhBBckoAn0CR >LxMNH4tNIAQABPrMmuQm6mv0 >=w3jk >-----END PGP SIGNATURE----- > > > > >_______________________________________________ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list