Using SCP ( -B) without being prompted for a password .

2007-12-24 21:36:00

After all the R&D stuff I hv done and re-done .. this is where I have
reached . Donno where I am going wrong ..My original message is attached
below this one .

# /usr/local/bin/scp -B -v dns db25san:dns

Executing: program /usr/local/bin/ssh host db25machine, user (unspecified),
command scp -v -t dns
OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Seeded RNG with 50 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1
debug1: Connecting to db25machine [13.101.213.106] port 22.
debug1: temporarily_use_uid: 0/1 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/1 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.0.2p1
debug1: match: OpenSSH_3.0.2p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.0.2p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 136/256
debug1: bits set: 1593/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
Host key verification failed.
debug1: Calling cleanup 0x2bc44(0x0)
debug1: Calling cleanup 0x31a40(0x0)
debug1: writing PRNG seed to file //.ssh/prng_seed
lost connection

____________________________________________________________________________
_________________

Hiii Gurus ,

I want to use scp to tranfer files from System A to system B so that I am
not prompted for the password for System B ...
Is there some flag with scp for the same .. or some other workaround ..

Also I experience that it takes a lot of time for the password prompt to
come up ... Can it be come config issue with ssh ? Has anyone faced such an
issue before ..

Any clues ?

TIA

-Dayanand Sharma

Comments

Got something to say?

You must be logged in to post a comment.