Edit ssh config : Edit /etc/ssh/sshd_config AllowTcpForwarding yes PermitTunnel yes Restart ssh service Tunnel command ssh host -L 5601:localhost:5601