Hi, sftp batch mode has been enforcing quiet mode since 6.3p1 (I've checked 7.2p2). < /* $OpenBSD: sftp.c,v 1.142 2013/02/08 00:41:12 djm Exp $ */ --- > /* $OpenBSD: sftp.c,v 1.148 2013/07/25 00:56:52 djm Exp $ */ 2181c2224 < batchmode = 1; --- > quiet = batchmode = 1; This means that successful commands are not being acknowledged in stdout. OpenSSH_6.2p1, OpenSSL 1.0.1e-fips 11 Feb 2013 $ sftp -b test.sftp localhost 2>stderr.log sftp> put testfrom/test1.txt testto/test1.txt Uploading testfrom/test1.txt to /home/user/testto/test1.txt sftp> rm testto/test.txt Removing /home/user/testto/test.txt OpenSSH_6.3, OpenSSL 1.0.1e-fips 11 Feb 2013 $ sftp -b test.sftp localhost 2>stderr.log sftp> put testfrom/test1.txt testto/test1.txt sftp> rm testto/test.txt Additionally, if the "progress" command is used, this successfully enables the progress output. OpenSSH_6.2p1, OpenSSL 1.0.1e-fips 11 Feb 2013 $ sftp -b test.sftp localhost 2>stderr.log sftp> progress Progress meter enabled sftp> put testfrom/test1.txt testto/test1.txt Uploading testfrom/test1.txt to /home/user/testto/test1.txt testfrom/test1.txt 100% 158 0.2KB/s 00:00 sftp> rm testto/test.txt Removing /home/user/testto/test.txt OpenSSH_6.3, OpenSSL 1.0.1e-fips 11 Feb 2013 $ sftp -b test.sftp localhost 2>stderr.log sftp> progress Progress meter enabled sftp> put testfrom/test1.txt testto/test1.txt testfrom/test1.txt 100% 158 0.2KB/s 00:00 sftp> rm testto/test.txt Could batch mode not enforce quiet mode or possibly a "quiet" command be introduced (like progress) which toggles the flag? Regards, Barry. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev