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
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Peter shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base