I got a ubuntu MATE on raspberry pi 3 model B. I ran the ./ngrok tcp 22 and got

But when I tried ssh [email protected] -p 19532 on my Mac, it gives me an error:
ssh_exchange_identification: Connection closed by remote host.
Could you help on this? Thank you.
I have same error.
If i change my network.,it will come out same error.
Then i change back,it will ssh successfully.
I'm running into the same error. Trying to connect to Mac OSX Mojave host.
Running into the same error, trying to SSH into a raspberry pi.
I forgot to start the ssh on Ubuntu. "sudo /etc/init.d/ssh start" solved my issue.
My issue came down to changing the default SSH configurations for the Raspbian OS, once that was updated ngrok worked successfully.
@SmittoStuff - can you share the change? thanks!
@adrianog sure thing
In Raspbian, going to Preferences > Raspberry Pi Configuration > Interfaces will open a menu where different interfaces can be enabled. SSH is set to disabled by default - after this was enabled I was able to SSH in.
Most helpful comment
I forgot to start the ssh on Ubuntu. "sudo /etc/init.d/ssh start" solved my issue.