SenseCAP M2 LoRaWAN Gateway - How to ssh into console

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 got it streight from Seeed that it is not possable to ssh in why dont you go in thru http?

@cgwaltney I understand. By the term “thru http” do you mean root@ipaddress? This way it also refuses. Or did you mean some other way?

use a web browser and type in the ip address

the source code is not open, it is closed because it is based on Helium and it is closed source for security reasons

This is the upgrade and usage tutorial of the open source firmware. You can send an application for browsing permission and I will review it for you.

1 Like

Application for browsing permission sent. Please approve.

Approved, please check it again.

Got it :+1:.

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?

Yes, you need to flash the opensource firmware first and then you are able to ssh it.

1 Like

Hi I would like to have access to the open source firmware. I sent an application. Please approve.

Thanks
Ben

1 Like

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

It’s possible to have access to the official m2 gateway firmware to restore the gateway ?

Thanks,
Ben

Ok. Thank you for the suggestions. Still working on it.