From owner-ssh@clinet.fi  Fri Jun  1 01:38:15 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id BAA23713
	for <ssh-archiver@cs.hut.fi>; Fri, 1 Jun 2001 01:38:15 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id EAFED21429; Fri,  1 Jun 2001 01:38:14 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id BAA03100
	for ssh-outgoing; Fri, 1 Jun 2001 01:05:07 +0300
Received: from css-1.cs.iastate.edu (root@css-1.cs.iastate.edu [129.186.3.24])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id BAA03091
	for <ssh@clinet.fi>; Fri, 1 Jun 2001 01:05:05 +0300
Received: from fremd.cs.iastate.edu (fremd.cs.iastate.edu [129.186.3.83])
	by css-1.cs.iastate.edu (8.9.0/8.9.0) with SMTP id RAA13281
	for <ssh@clinet.fi>; Thu, 31 May 2001 17:05:05 -0500 (CDT)
Content-Type: text/plain;
  charset="iso-8859-1"
From: Steven Kroeger <skroeger@cs.iastate.edu>
Reply-To: skroeger@cs.iastate.edu
To: ssh@clinet.fi
Subject: ssh using shosts works but scp doesn't
Date: Thu, 31 May 2001 17:05:02 -0500
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <0105311705020C.06028@fremd.cs.iastate.edu>
Content-Transfer-Encoding: 8bit
Sender: owner-ssh@clinet.fi
Precedence: bulk

I need scp to authenticate via the .shosts in my root directory. So far I 
have ssh working to authenticate but scp for some reason requests a 
passphrase. This is a copy of the output from scp -v to the machine I want to 
authenticate with...

# scp -v somefile somewhere:/tmp > errors.txt
Executing: host somewhere, user (unspecified), command scp -v -t /tmp
SSH Version 1.2.27 [i586-unknown-linux], protocol version 1.5.
Compiled with RSAREF.
: Reading configuration data /root/.ssh/config
: ssh_connect: getuid 0 geteuid 0 anon 0
: Connecting to somewhere [*.*.*.*] port 22.
: Allocated local port 1022.
: Connection established.
: Remote protocol version 1.99, remote software version OpenSSH_2.5.2p2
: Waiting for server public key.
: Received server public key (768 bits) and host key (1024 bits).
: Host 'somewhere' is known and matches the host key.
: Initializing random; seed file /root/.ssh/random_seed
: IDEA not supported, using 3des instead.
: Encryption type: 3des
: Sent encrypted session key.
: Installing crc compensation attack detector.
: Received encrypted confirmation.
: No agent.
: Trying RSA authentication with key 'root@----'
: Received RSA challenge from server.
Enter passphrase for RSA key 'root@----':
Bad passphrase.
: Remote: Wrong response to RSA authentication challenge.
: Doing password authentication.
password:
Permission denied.
lost connection

I don't know what would cause scp to fail where ssh succeeds so any help 
would be great. 

Steve.
