I have turned on the Batchmode on the command line but the log file show the followings:
SSH Version OpenSSH_2.2.0 NetBSD_Secure_Shell-20001003, protocol versions 1.5/2.
0.
Compiled with OpenSSL (0x0090581f).
debug: Reading configuration data /etc/ssh.conf
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to 144.132.193.156 [144.132.193.156] port 22.
debug: Allocated local port 977.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version 1.2.27
debug: Local version string SSH-1.5-OpenSSH_2.2.0 NetBSD_Secure_Shell-20001003
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host '144.132.193.156' is known and matches the RSA host key.
debug: Encryption type: blowfish
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Remote: Server does not permit empty password login.
debug: Trying rhosts or /etc/hosts.equiv with RSA host authentication.
debug: Server refused our rhosts authentication or host key.
debug: Trying RSA authentication with key 'root@mig'
debug: Received RSA challenge from server.
debug: Will not query passphrase for root@mig in batch mode.
Bad passphrase.
debug: Remote: Wrong response to RSA authentication challenge.
Permission denied.
debug: Calling cleanup 0x8056c84(0x0)
lost connection
Although batch mode turn off query of passphrase it still fails the authentication challenge.
 
Any pointers?
 
David
----- Original Message -----
From: dkwok
Sent: Friday, March 16, 2001 12:16 AM
Subject: How to use scp in batch mode

Hi All
 
How can I copy files by using scp in a batch mode
 
I read the man page saying the to use -B but it comes up with "bad passphase"
 
I have try some some other tricks like -B paraphase and it does not work either.
 
I am not on the mailing list please cc to me.
 
Regards
David Kwok

Reply via email to