Hi,
I am having a problem with scp. I would like to be able to
scp from one machine to another wihtout having to provide a
password. Here is what happens when I try to do the scp.
stage(/etc/ssh2/hostkeys)% scp1 -v root@bond:/tmp/if.bond .
Executing: host bond, user root, command scp -v -f
/tmp/if.bond
SSH Version 1.2.26 [sparc-sun-solaris2.6], protocol version
1.5.
Standard version. Does not use RSAREF.
stage.wharton.upenn.edu: Reading configuration data
/etc/ssh_config
stage.wharton.upenn.edu: ssh_connect: getuid 0 geteuid 0
anon 0
stage.wharton.upenn.edu: Connecting to bond [130.91.160.142]
port 22.
stage.wharton.upenn.edu: Allocated local port 1022.
stage.wharton.upenn.edu: Connection established.
stage.wharton.upenn.edu: Remote protocol version 1.5, remote
software version 1.2.26
stage.wharton.upenn.edu: Waiting for server public key.
stage.wharton.upenn.edu: Received server public key (768
bits) and host key (1024 bits).
stage.wharton.upenn.edu: Host 'bond' is known and matches
the host key.
stage.wharton.upenn.edu: Initializing random; seed file
//.ssh/random_seed
stage.wharton.upenn.edu: Encryption type: idea
stage.wharton.upenn.edu: Sent encrypted session key.
stage.wharton.upenn.edu: Installing crc compensation attack
detector.
stage.wharton.upenn.edu: Received encrypted confirmation.
stage.wharton.upenn.edu: Trying rhosts authentication.
stage.wharton.upenn.edu: Remote: Accepted by .shosts.
stage.wharton.upenn.edu: Sending command: scp -v -f
/tmp/if.bond
stage.wharton.upenn.edu: Entering interactive session.
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and
recompile.
usage: scp [-D debug_level_spec] [-d] [-p] [-n] [-u] [-v]
[-1]
[-c cipher] [-S ssh2-path] [-h] [-P ssh2-port]
[[user@]host[#port]:]file ...
[[user@]host[#port]:]file_or_dir
Options:
-D debug_level_spec Set debug level.
-d Force target to be a directory.
-q Make scp quiet (doesn't show progress
indicator).
-p Preserve file attributes and
timestamps.
-n Show what would've been done without
actually copying
any files.
-u Remove source-files after copying.
-v Verbose mode; equal to `-D 2'.
-1 Engage scp1 compatibility.
-c cipher Select encryption algorithm. Multiple
-c options are
allowed and a single -c flag can have
only one cipher.
-S ssh2-path Tell scp2 where to find ssh2.
-P ssh2-port Tell scp2 which port sshd2 listens on
the remote machine.
-h Display this help.
stage.wharton.upenn.edu: Transferred: stdin 1, stdout 1173,
stderr 0 bytes in 0.1 seconds
stage.wharton.upenn.edu: Bytes per second: stdin 9.1, stdout
10722.3, stderr 0.0
stage.wharton.upenn.edu: Exit status 1
What should I be looking for in my configuration? Or should
I do something different on the command line?
-John