[Bug 3027] New: The "Bad local forwarding specification" error only caused by socket filename longer than 103 characters
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Jul 1 21:09:45 AEST 2019
https://bugzilla.mindrot.org/show_bug.cgi?id=3027
Bug ID: 3027
Summary: The "Bad local forwarding specification" error only
caused by socket filename longer than 103 characters
Product: Portable OpenSSH
Version: 7.9p1
Hardware: 68k
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: vpithart at lhota.hkfree.org
When using `ssh -L local_socket:remote_socket` according to manual,
when the `remote_socket` filename length is 104+ characters, the "Bad
local forwarding specification" error jumps out and SSH client does not
work.
Example 1 (fail):
$ ssh -nNT -L
/tmp/live:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/local/nagios/var/rw/live
root at example.com
Bad local forwarding specification
'/tmp/live:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/local/nagios/var/rw/live'
Example 2 (works):
$ ssh -nNT -L
/tmp/l:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/loc
root at example.com
(works as expected)
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list