Article 539S3 SSH'ing with Tunneling

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.latest?d=yIl2AUoC8zA latest?i=HCbAE2b5qgE:rS_JXYH1URk:F7zBnMy latest?i=HCbAE2b5qgE:rS_JXYH1URk:V_sGLiP latest?d=qj6IDK7rITs latest?i=HCbAE2b5qgE:rS_JXYH1URk:gIN9vFwHCbAE2b5qgE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments