Bug 754

Summary: sftp always writes message to stderr even in batch mode
Product: Portable OpenSSH Reporter: Kevin Matzdorf <kevin>
Component: sftpAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 3.6.1p2   
Hardware: All   
OS: All   
Attachments:
Description Flags
Silence connection messages in batchmode none

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