Quantcast
Channel: SSH remote port forwarding failed - Server Fault
Viewing all articles
Browse latest Browse all 6

Answer by Garo for SSH remote port forwarding failed

$
0
0

Judging by your description the other answers here are more useful.
But for others that notice problems with port forwarding to a specific server and end up on this page:

In many cases the problem is that the ssh-server is configured to block port forwarding. To change this:

  • Open the sshd-configuration file (/etc/ssh/sshd_config on most systems)
  • If there is a line AllowTcpForwarding no, remove it.
    Depending on your version of openssh you will also explicitly have to add AllowTcpForwarding yes
    (When in doubt: Do it)
  • Restart the ssh-server

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>