scp not tolerant of extraneous shell messages

Edward Avis epa98 at doc.ic.ac.uk
Thu Jul 4 05:39:45 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3 Jul 2002, Damien Miller wrote:

>>>Perhaps scp could have a special -diagnose option which runs 'echo
>>>hello' at the remote end, and checks that the text received is just
>>>'hello'.

>What is wrong with "ssh somehost /bin/true"?

Not as idiot-proof.

>This has long been documented at http://www.openssh.com/faq.html#2.9

But as evidenced by previous messages to this list, some people - even
intelligent, relatively clueful people - do not read the FAQ, or forget
what it says.  They might be more likely to find the right answer if scp
gave a bit more prompting (either with -diagnose or with a different
error message).  Besides, scp -diagnose could be a place to test for
other common scp problems, beside spurious stdout text.

The reason for the suggestion is not technical, it's more like a kind of
additional documentation.

- -- 
Ed Avis <epa98 at doc.ic.ac.uk>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9I1MFIMp73jhGogoRArvcAJ9y5un3IFJ8xaEUd+89aW+lOZxltACeJ8/G
PscMWz4O4cV30xoaN8mOPiw=
=b0np
-----END PGP SIGNATURE-----




More information about the openssh-unix-dev mailing list