sftp Couldn't read packet: Connection reset by peer

J.A. Neitzel gsocsftp at v6shell.org
Mon Apr 6 09:40:37 EST 2009


Jon,

Sorry, I must have misunderstood your "second line is not needed"
statement in my other reply.  Just to clarify if I may...

Did you mean the:
	"Connecting to unknown-web-qbcdef.com..."
or the:
	"Couldn't read packet: Connection reset by peer"
...
line is not needed?

Jeff

Damien Miller wrote:

> Please file a bug at https://buzgilla.mindrot.org/ so it doesn't get
> lost.
>
> -d
>
> On Sun, 5 Apr 2009, Jon Grant wrote:
>
> > Hello
> > 
> > I saw this error below. My feeling is that the second line is not
> > needed. Would a patch be accepted to change it? If it's easy enough to
> > do I could probably track down the bit of code generating it.
> > 
> > the ssh error is also not quite as good as it could be, My feeling is
> > that it doesn't need to tag "Name or service not known" on to the end
> > of the line when it has already said it Could not resolve the
> > hostname!
> > 
> > Please include my email address in any replies as I am not on this mailing list.
> > 
> > Regards, Jon
> > 
> > j at laptop:~$ sftp oops at unknown-web-qbcdef.com
> > Connecting to unknown-web-qbcdef.com...
> > ssh: Could not resolve hostname unknown-web-qbcdef.com: Name or
> > service not known
> > Couldn't read packet: Connection reset by peer
> > j at laptop:~$
> > 
> > 
> > j at laptop:~$ ssh unknown-web-qbcdef.com
> > ssh: Could not resolve hostname unknown-web-qbcdef.com: Name or
> > service not known
> > j at laptop:~$


More information about the openssh-unix-dev mailing list