scp problem
Mate Wierdl
mw at moni.msci.memphis.edu
Thu Mar 16 03:29:00 EST 2000
On the box moni, I have
rpm -q openssh
openssh-1.2.1pre25-1us
on the box karadi, I have
rpm -q openssh
openssh-1.2.3pre2-2
On moni, I do/get:
scp "wierdlm at karadi:11Lecture/lecture.tex" .
wierdlm at karadi.msci.memphis.edu's password:
bash: scp: command not found
What can be wrong? Do I have to specify the remote path to scp? (It
is in $PATH for wierdlm at karadi:
ssh wierdlm at karadi
wierdlm at karadi.msci.memphis.edu's password:
Last login: Wed Mar 15 10:08:50 2000 from wierdlmpc.msci.m
Sun Microsystems Inc. SunOS 5.6 Generic August 1997
$ which scp
/space/local/bin/scp
Here is the debug version of the scp session:
scp -v "wierdlm at karadi:11Lecture/lecture.tex" .
Executing: host karadi, user wierdlm, command scp -v -f
11Lecture/lecture.tex
SSH Version OpenSSH-1.2.1, protocol version 1.5.
Compiled with SSL (RSAref version).
debug: Reading configuration data /etc/ssh/ssh_config
debug: ssh_connect: getuid 500 geteuid 0 anon 0
debug: Connecting to karadi.msci.memphis.edu [141.225.11.110] port 22.
debug: Allocated local port 1021.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version
OpenSSH-1.2.3
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host 'karadi.msci.memphis.edu' is known and matches the host
key.
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Trying RSA authentication with key 'mw at moni.msci.memphis.edu'
debug: Server refused our key.
debug: Doing password authentication.
wierdlm at karadi.msci.memphis.edu's password:
debug: Sending command: scp -v -f 11Lecture/lecture.tex
debug: Entering interactive session.
bash: scp: command not found
debug: Transferred: stdin 1, stdout 29, stderr 0 bytes in 0.1 seconds
debug: Bytes per second: stdin 14.3, stdout 414.2, stderr 0.0
debug: Exit status 127
All is working well when I try to copy from karadi to moni:
scp mw at moni:install.html .
mw at moni's password:
install.html 100% |********************************| 3397
00:00 ETA
or in debug mode:
scp mw at moni:install.html .
mw at moni's password:
install.html 100% |********************************| 3397
00:00 ETA
wierdlm at karadi: ~
$ scp -v mw at moni:install.html .
Executing: host moni, user mw, command scp -v -f install.html
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
debug: Reading configuration data /space/local/etc/ssh/ssh_config
debug: ssh_connect: getuid 863 geteuid 0 anon 0
debug: Connecting to moni [141.225.11.87] port 22.
debug: Allocated local port 976.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version
OpenSSH-1.2.1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host 'moni' is known and matches the host key.
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Doing password authentication.
mw at moni's password:
debug: Sending command: scp -v -f install.html
debug: Entering interactive session.
Sending file modes: C0664 3397 install.html
install.html 100% |********************************| 3397
00:00 ETA
debug: Transferred: stdin 3, stdout 3466, stderr 0 bytes in 0.2
seconds
debug: Bytes per second: stdin 17.7, stdout 20423.1, stderr 0.0
debug: Exit status 0
Thx,
Mate
More information about the openssh-unix-dev
mailing list