SSH'ing with Tunneling
by sniper8752 from LinuxQuestions.org on (#539S3)
I am trying to map a local port to a remote port on a server. Here is the command that I run:
Code:ssh -L 2:192.168.1.2:5601 user@192.168.1.2I am getting this error though:
Code:bind [127.0.0.1]:2: Permission denied
channel_setup_fwd_listener_tcpip: cannot listen to port: 2
Could not request local forwarding.I am able to SSH into the host though.


Code:ssh -L 2:192.168.1.2:5601 user@192.168.1.2I am getting this error though:
Code:bind [127.0.0.1]:2: Permission denied
channel_setup_fwd_listener_tcpip: cannot listen to port: 2
Could not request local forwarding.I am able to SSH into the host though.