| Summary: | sftp client produces unnecessary message upon connecting to host | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | J.A. Neitzel <gsocsftp> |
| Component: | sftp | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P2 | ||
| Version: | 5.2p1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 1626 | ||
| Attachments: | |||
|
Description
J.A. Neitzel
2009-04-07 14:36:00 AEST
Created attachment 1624 [details]
Patch to remove "Connecting to <host>..." message from sftp.c
This patch is for Portable OpenSSH.
Created attachment 1625 [details]
Patch to remove "Connecting to <host>..." message from sftp.c
This patch is for usr.bin/ssh/sftp.c in the OpenBSD source tree.
In response to this message to the openssh-unix-dev mailing list: https://lists.mindrot.org/pipermail/openssh-unix-dev/2009-April/027560.html . The removal of this message should be OK. There is a corresponding message in the debug1 output when user invokes sftp(1) as `sftp -v ...' . Reset assignee to default. Reset status to new. yeah, this log line doesn't actually give you any additional information (unlike, e.g., telnet's) so I don't see any harm in nuking it, or perhaps delaying it until after the connection has been confirmed (i.e. after sftp-client.c:do_init() has returned.) Created attachment 1724 [details]
delay printing connect message until after sftp protocol is raised
This delays printing the message until after the sftp session has been established (post do_init()):
djm@localhost's password:
Connected to fuyu.
sftp>
patch has been applied. will be in openssh-5.4 With the release of 5.4p1, this bug is now considered closed. |