Unable to ssh into remote Linux by ngrok

后端 未结 1 1910
不知归路
不知归路 2021-01-31 04:04

The remote Linux computer is in an internal network and has no public IP address. So I installed ngrok.

ngrok tcp 22

ngrok by @i

相关标签:
1条回答
  • 2021-01-31 04:39

    You are connecting to the wrong destination address. The command should be

    ssh myuser@0.tcp.ngrok.io -p36428
    

    Notice the different hostname (ie 0.tcp.ngrok.io instead of ngrok.com).

    And generally you would want to put the user@hostname after all the options (eg -p36428), even though it doesn't generally cause any issues.

    0 讨论(0)
提交回复
热议问题