'scp' returns incorrect exit code (OpenSSH_2.5.2p2)

Jim Knoble jmknoble at jmknoble.cx
Tue Mar 27 12:10:50 EST 2001

Circa 2001-Mar-27 01:35:17 +0200 dixit Markus Friedl:

: this is because scp just calls ssh, and scp does not return
: the exit-code from ssh. should it?

Yes, it probably ought to.  How would doing so affect scp when running
on the remote end?

jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/

More information about the openssh-unix-dev mailing list