Bug 754 - sftp always writes message to stderr even in batch mode
Summary: sftp always writes message to stderr even in batch mode
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sftp (show other bugs)
Version: 3.6.1p2
Hardware: All All
: P3 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 01:42 AEDT by Kevin Matzdorf
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Silence connection messages in batchmode (788 bytes, patch)
2003-11-08 22:16 AEDT, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Matzdorf 2003-11-05 01:42:32 AEDT
sftp prints "Connecting to x.x.x.x..." on stderr, even when in batch
mode, therefore making it annoying to use in a cron script, if
you'd like to get mailed stderr output if there is an error, but not
every time it runs.

It would be nice if sftp either didn't print this message while in
batch mode, or if there was a option to suppress it.
Comment 1 Damien Miller 2003-11-08 22:16:02 AEDT
Created attachment 496 [details]
Silence connection messages in batchmode

Please try this patch.
Comment 2 Damien Miller 2004-01-13 20:24:53 AEDT
patch applied
Comment 3 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED