[Bug 542] OpenSSH 3.6.1p1 - sftp exit codes and improved logging for scripting
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Apr 10 10:34:30 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=542
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From djm at mindrot.org 2003-04-10 10:34 -------
RTFM (sftp manpage in this case):
-b batchfile
Batch mode reads a series of commands from an input batchfile
instead of stdin. Since it lacks user interaction it should be
used in conjunction with non-interactive authentication. sftp
will abort if any of the following commands fail: get, put,
rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp,
lpwd and lmkdir. Termination on error can be suppressed on a
command by command basis by prefixing the command with a -
character (For example, -rm /tmp/blah* ).
And yes, -DTRACE=log in sftp-server will give you more logging.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list