[Bug 2999] Sftp login failed by sftp user@[ip] in openssh 7.9

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Apr 29 20:48:29 AEST 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2999

--- Comment #14 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to guo chuang from comment #13)
[...]
> 1. I tried this patch and the problem still exists.

Did you run the newly patched binary?

> Have you ever tested before?

Yes, built against -current.  Just retested it with 7.9p1 and it also
seems to work for me:

$ ./sftp root@[127.0.0.1]
ssh: Could not resolve hostname [127.0.0.1]: Name or service not known
Connection closed.  
Connection closed
$ patch -p0 <~/tmp/sftp-host-squarebracket.patch 
patching file sftp.c
$ make
[...]
$ ./sftp root@[127.0.0.1]
Connected to 127.0.0.1.

Do you have a different test case?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list