Items with no label
3335 Discussions

How to SSH to the Euclid through it hotspot?

CLiu36
New Contributor I
1,522 Views

I tried to SSH to 10.42.0.1, but port 22 connection refused, which I think was caused bu the web interface. I wonder whether there is a way to turn off the web interface temporarily to allow SSH?

0 Kudos
1 Solution
CShei
Beginner
374 Views

Hi,

SSH is not enabled by default. You need to install openssh-server (sudo apt-get install openssh-server, assuming you connect to Wifi) and then restart ssh service (systemctl restart ssh).

These tasks can be done over VNC, or by running in local mode (monitor and keyboard).

View solution in original post

3 Replies
MartyG
Honored Contributor III
374 Views

This error message is not unique to Euclid. It is associated with Linux, and my research indicated that there can be a number of causes, including:

1. Port 22 is blocked by your firewall and you should set up a rule in your firewall to allow that port if this is the case.

2. There is an IP conflict, with another device that is already claiming Port 22.

3. The device you are using to make the connection is not listening for port 22 and so cannot access it.

4. You should be using a static setting on your network adapter instead of DCHP.

5. SSH Server is not installed, only SSH Client.

Googling the term 'port 22 connection refused' without mentioning euclid specifically may yield you further leads to follow up on, assuming there isn't an easy answer someone on the forum can provide. Good luck!

CShei
Beginner
375 Views

Hi,

SSH is not enabled by default. You need to install openssh-server (sudo apt-get install openssh-server, assuming you connect to Wifi) and then restart ssh service (systemctl restart ssh).

These tasks can be done over VNC, or by running in local mode (monitor and keyboard).

CLiu36
New Contributor I
374 Views

Great! Thank you both very much.

I did this:

sudo apt-get update 

sudo apt-get install openssh-server

 

sudo ufw allow 22

It works straight away.

0 Kudos
Reply