I am having trouble using scp in 2.0.11. If I scp to a 2.0.11 client
there is no problem. If I scp to a 1.2.26 client I get:
scp /tmp/lmhosts client:/tmp
Executing /usr/system/bin/ssh1 for ssh1 compatibility.
command-line line 0: Bad configuration option.
Connection lost.
If I use scp1 /tmp/lmhosts client:/tmp then I get the password prompt.
After typing in the password I get:
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.
lost connection
The same error is encountered coming from the 1.2.26 client scp'ing to
the 2.0.11 server.
Has anyone else come across this odd behavior or is my environment the odd
behavior. Unfortunately, not all our computers will compile and run the
2.0.11 ssh. We did install both 1.2.26 and 2.0.11 versions on the
machines running ssh 2.0.11. And made ssh2 able to run ssh1. We do not
have problems ssh'ing only scp'ing. Help please.