sftp Couldn't read packet: Connection reset by peer

Jon Grant jg at jguk.org
Tue Apr 7 21:49:24 EST 2009


Hello

2009/4/7 J.A. Neitzel <gsocsftp at v6shell.org>:
[..]
> Bug added to Bugzilla.
> See https://bugzilla.mindrot.org/show_bug.cgi?id=1588 for details.

thank you for adding the patch to bugzilla.

Re the output text, my understanding is it would now look like with
numbers added:

1) j at laptop:~$ sftp oops at unknown-web-qbcdef.com
2) ssh: Could not resolve hostname unknown-web-qbcdef.com: Name or
service not known
3) Couldn't read packet: Connection reset by peer

So just to confirm, are (2) and (3) lines both needed? If it is me,
and it "could not resolve the host name" I would not try and read a
packet after that.

Also for the English, "Couldn't" is different from "Could not" on the
line above. Normally the short form is only used colloquially, so I
would suggest to change (3) to be "Could not" if it is being retained.

Regards, Jon


More information about the openssh-unix-dev mailing list