How to Ssh into Remote Linux by Ngrok

Unable to ssh into remote Linux by ngrok

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.

Unable to SSH to a Windows machine using Ngrok

SSH to Windows is kind of waste of time. Their document https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement is outdated https://github.com/MicrosoftDocs/windowsserverdocs/issues/4598 and no longer works, unfortunately.

If you're on Windows 10, I suggest using WSL Linux on your Windows 10. It's basically Linux machine on Windows, but also available for the SSH feature. The WSL SSHing does work perfectly as well as you can do on a Linux machine.



Related Topics



Leave a reply



Submit