[Bug 2926] In batch mode sftp echoes the prompt and the commands back

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 9 14:21:25 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2926

--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
Comment on attachment 3199
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3199
allow '@' prefix to suppress command echo

>+			if (!interactive && *cmd != '@') {
> 				mprintf("sftp> %s", cmd);

You're only checking the first character but the man page says - and @
can be supplied in any order, so -@ is not going to do what the man
page says.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list