Did you read the output?  It's not reading your authorized key file on the
other end:

fromHost: Trying RSA authentication with key 'userA@abc'
fromHost: Remote: Bad file modes for /home/userA/.ssh/authorized_keys
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

On Fri, 19 May 2000, Gary Johnson wrote:

> I'm still trying to get this to work without password authentication with no
> success. Below is a -v trace of the scp command. Can anyone spot anything
> that's obviously wrong? Perhaps in the sshd configuration that is causing
> some of the messages. The command does work if the password is entered, so
> the syntax is correct and the file found.....Thanks, Gary
> 
> > scp -v [EMAIL PROTECTED]:./someFileA .
> Executing: host abc.def.com, user userA, command scp -v -f ./someFileA
> SSH Version 1.2.26 [sparc-sun-solaris2.6], protocol version 1.5.
> Standard version.  Does not use RSAREF.
> fromHost: Reading configuration data /etc/ssh_config
> fromHost: ssh_connect: getuid 1000 geteuid 0 anon 0
> fromHost: Connecting to abc.def.com [216.34.13.231] port 22.
> fromHost: Allocated local port 1022.
> fromHost: Connection established.
> fromHost: Remote protocol version 1.5, remote software version 1.2.26
> fromHost: Waiting for server public key.
> fromHost: Received server public key (768 bits) and host key (1024 bits).
> fromHost: Host 'abc.def.com' is known and matches the host key.
> fromHost: Initializing random; seed file /home/userA/.ssh/random_seed
> fromHost: Encryption type: idea
> fromHost: Sent encrypted session key.
> fromHost: Installing crc compensation attack detector.
> fromHost: Received encrypted confirmation.
> fromHost: Trying rhosts or /etc/hosts.equiv with RSA host authentication.
> fromHost: Remote: Rhosts/hosts.equiv authentication refused: client user
> 'userA', server
>  user 'userA', client host '216.34.13.232'.
> fromHost: Server refused our rhosts authentication or host key.
> fromHost: No agent.
> fromHost: Trying RSA authentication with key 'userA@abc'
> fromHost: Remote: Bad file modes for /home/userA/.ssh/authorized_keys
> fromHost: Server refused our key.
> fromHost: Doing password authentication.
> [EMAIL PROTECTED]'s password:
> fromHost: Sending command: scp -v -f ./someFileA
> fromHost: Entering interactive session.
> Sending file modes: C0644 674 someFileA
> someFileA               |          0 KB |   0.7 kB/s | ETA: 00:00:00 | 100%
> fromHost: Transferred: stdin 3, stdout 739, stderr 0 bytes in 0.1 seconds
> fromHost: Bytes per second: stdin 28.5, stdout 7031.3, stderr 0.0
> fromHost: Exit status 0
> 
> Gary Johnson
> Next Wave Systems
> 100 Bush Street, Suite 1910
> San Francisco, CA 94104
> [EMAIL PROTECTED]
> 415-445-8944  x114
> 

Reply via email to