I suggest you ...

How to add a port forwarding like that

Could You tell me, how to add something like that

ssh -L 127.0.0.1:3306:0.0.0.0:3310 user@host -p custom_port

when I use my hosts list, my tunnel looks like this

ssh -L host:3306:0.0.0.0:3310 user@host

By DB listens only on localhost, and I need to port forwarding through SSH port ;)

Could You help me?

4 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Peter shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base