aizu's Knowledge Base
    • Go to: aizu.my Homepage
    • Recent
    • Tags
    • Register
    • Login

    SSH Tunnel Port

    Linux
    1
    1
    36
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aizu
      last edited by

      Tunnel the port using SSH

      ssh -v -N -L 3001:TARGET_INTERNAL_IP:3000 -i PEM_KEY_FILE [email protected]
      
      ssh -v -N -L 3001:TARGET_INTERNAL_IP:3000 [email protected]
      
      3001 : local port (127.0.0.1:3001)
      3000 : remote port (TARGET_INTERNAL_IP:3000)
      
      -v : verbose
      -N : non-interactive
      -L : tunnel
      -f : non-foreground
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post