I checked my authorized_keys and it is okay, with 600 permissions as well.  It still 
doesn't work.  What I'm trying to do is ssh or scp from user root on one server to 
user admin on a remote server (ftp2.webpipe.net).  

Here is my ssh -v output:

[root@dreamwarrior1 /root]# ssh -v -l admin ftp2.webpipe.net 
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to ftp2.webpipe.net [63.172.124.8] port 22.
debug: Allocated local port 1023.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.1.1
debug: Seeding random number generator
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit: diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: hmac-sha1,hmac-md5,[EMAIL PROTECTED]
debug: got kexinit: hmac-sha1,hmac-md5,[EMAIL PROTECTED]
debug: got kexinit: zlib,none
debug: got kexinit: zlib,none
debug: got kexinit: 
debug: got kexinit: 
debug: first kex follow: 0 
debug: reserved: 0 
debug: done
debug: kex: server->client 3des-cbc hmac-sha1 none
debug: kex: client->server 3des-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEXDH_INIT.
debug: bits set: 507/1024
debug: Wait SSH2_MSG_KEXDH_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: Host 'ftp2.webpipe.net' is known and matches the DSA host key.
debug: bits set: 517/1024
debug: len 55 datafellows 0
debug: dsa_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue: publickey,password
debug: try pubkey: /root/.ssh/id_dsa
debug: read DSA private key done
debug: sig size 20 20
debug: authentications that can continue: publickey,password
[EMAIL PROTECTED]'s password: 

Thanks again,

Don



---------- Original Message ----------------------------------
From: "Michael R. Jinks" <[EMAIL PROTECTED]>
Date: Wed, 11 Oct 2000 21:24:54 -0500

>My usual checklist --
>
>Double-check the spelling of authorized_keys, I have a tendency to make the
>underscore a dash;
>
>Double-check the permissions on ~/.ssh/authorized_keys, if it's readable by
>any other than owner it won't be used.
>
>The -v argument to ssh is your friend.  Sometimes it can tell you not only
>that RSA authentication is being skipped, but even give you some clue as to
>why.
>
>
>
>
>
>On Wed, Oct 11, 2000 at 01:38:25PM -0600, Don Hatch wrote:
>> I'm trying to set up a file transfer using scp in cron.  The problem is that I 
>can't seem to get it so that I don't have to supply the remote server's password.  I 
>copied the identity.pub from the local host into authorized_keys on the remote 
>server.  It still asks for a password.  I even tried using ssh-agent and ssh-add but 
>it still prompts for it.  Any help is appreciated, I'm sure I'm missing something 
>simple.
>> 
>> Thanks in advance,
>> 
>> Don
>> 
>> 
>> 
>> _______________________________________________________
>> Site Design, Hosting, and E-Commerce at www.webpipe.net
>
>-- 
>Michael Jinks, IB
>Systems Administrator, CCCP
>finger [EMAIL PROTECTED] for public key
>Vote Duke! http://www.entertaindom.com/pages/duke2000/home.jsp
>

_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net

Reply via email to