Any suggestions for getting TCP forwarding working via #SSH? I'm getting errors like this:
refused local port forward: originator 127.0.0.1 port 49673, target 127.0.0.1 port 443
The
sshd -T
output suggests that it should work:$ grep -i 'forward\|permitopen' full-sshd-config
x11forwarding no
allowtcpforwarding yes
allowagentforwarding yes
disableforwarding no
allowstreamlocalforwarding yes
permittunnel no
permitopen 127.0.0.1:443
(The host is pretty locked down, which is why I have the
PermitOpen
directive instead of allowing all forwarding.)dieter_wilhelm likes this.
Neil E. Hodges
Unknown parent • •If it had been the firewall, wouldn't there not be any logs on the server side? That's where the
refused local port forward
came from.I checked
audit.log
on the server and nothing was logged during the forwarding attempt.Nothing regarding forwarding on the client side with
-vvvvv
other than this:Neil E. Hodges
in reply to Neil E. Hodges • •Neil E. Hodges
Unknown parent • •Neil E. Hodges
in reply to Neil E. Hodges • •Stefans Weblog
in reply to Neil E. Hodges • • •Have you to (de)activate the options in your sshd_config one by one until you got the connection?
Maybe you can start with
X11Forwarding no
AllowTcpForwarding local
PermitTunnel no