I have SenseCAP M2 LoRaWAN Indoor Gateway and I want to connect to the console using Putty SSH. I have connected the Gateway to my network and both are in the same segment.
I am trying to SSH into the console using IP address and port 22 using Putty. It returns “Network error: connection refused”.
Question:
How do I enable port 22 on the Gateway so it can allow login to the console using Putty?
I am able to see the console via USB C using Putty Serial, 57600 baud rate. But I am not able to connect M2’s IP over SSH port 22, it says connection refused. My Senscap IP address is correct and I am able to ping it. While attempting to SSH, it says “connection refused”. Am I missing something?
I did not flash M2 yet, do not wish to do it and retain original firmware. Is it necessary for me to flash new firmware EU868 to be able to connect via SSH and to customise openWRT?
The original firmware on the M2 might have SSH disabled by default, which is why you’re seeing connection refused on port 22. Flashing it with new firmware like EU868 might enable SSH, but if you’re keen to keep the original firmware, check if there’s an option to enable SSH in the device settings or through the console.
the stock M2 device does not allow ssh because the firmware is propritory… (closed source) I got this from Seeed… this person (lee) said they developed an (Open Source) firmware