openssh-portable icon indicating copy to clipboard operation
openssh-portable copied to clipboard

parse_user_host_path, empty path should be allowed

Open kircherlike opened this issue 5 years ago • 2 comments

when parse_user_host_path, empty path should be allowed

when using "sftp root@[2001::16%eth0]", the error output: ssh: Could not resolve hostname [2001::16%eth0]: Name or service not known Connection closed. Connection closed

fix sftp ipv6 login failed accidental like this: File "/root/!" not found.

kircherlike avatar Jun 29 '20 06:06 kircherlike

@djmdjm

kircherlike avatar Jul 02 '20 01:07 kircherlike

I can't replicate this problem - sftp 'djm@[fe80::1%lo0]' works as expected on Linux and OpenBSD

djmdjm avatar Sep 03 '21 05:09 djmdjm