NO SSH on raspberry pi

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Nodri
Posts: 16
Joined: Saturday 03 November 2018 21:29
Target OS: -
Domoticz version:
Contact:

NO SSH on raspberry pi

Post by Nodri »

Hi guys,

I'm trying to insall SSH on my raspberry pi running domoticz. I've followed the steps on https://www.domoticz.com/wiki/Native_se ... ts_Encrypt but i'm running into problems.

The first one is that letscenrypt doenst run on my Rapi.
I get this error:
Your system is not supported by certbot-auto anymore.
Certbot will no longer receive updates.
Please visit https://certbot.eff.org/ to check for other alternatives.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certbot doesn't know how to automatically configure the web server on this syste m. However, it can still get a certificate for you. Please run "letsencrypt-auto certonly" to do so. You'll need to manually configure your web server to use th e resulting certificate.


I've tried that and it didn't work. Been to the certbot website and did the commands there. No joy i'm afraid.
It does a lot of things but now i can't access my domoticz anymore from my browser.
Also apparantly i don't have the permission for fullchain.pem

I would like to rollback everything so i can at least access domoitcz from my web browser.
Ports are open in my router.

Please help
User avatar
Bernd
Posts: 27
Joined: Tuesday 04 February 2014 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: The Netherlands, De Wijk
Contact:

Re: NO SSH on raspberry pi

Post by Bernd »

Installing SSH on your RPi is done with a tool within Raspi-config.
"Sudo apt raspi-config" brings you in the tool full of settings, including setting SSH.

You have to connect a monitor and keyboard to your RPi for this .....
Raspberry Pi 4 2GB (RPi OS Light)
RFXCOM RFXtrx433E, firmware version = 1025
User avatar
FireWizard
Posts: 1886
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: NO SSH on raspberry pi

Post by FireWizard »

Hi,

Have a look to the second post in this thread: viewtopic.php?f=6&t=34774&p=262757&hili ... ot#p262757

Regards
Nodri
Posts: 16
Joined: Saturday 03 November 2018 21:29
Target OS: -
Domoticz version:
Contact:

Re: NO SSH on raspberry pi

Post by Nodri »

Hello,

I tried to have a look into the live directory but i get a permission denied reply from the raspberry
Mag het ook in het nederlands?

I can't get access to these files. I went to superuser mode and i can see the files but when i run sudo cat it can't find the file.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: NO SSH on raspberry pi

Post by waaren »

Nodri wrote: Monday 01 February 2021 22:04 Mag het ook in het nederlands?
Sorry but No.

This is an international (and moderated) forum and we want all members to benefit from all posts.
Google translate is easy to use and if you use it, everyone else reading your posts do not have to do it for you.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HvdW
Posts: 612
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: NO SSH on raspberry pi

Post by HvdW »

Try PiVPN with Wireguard.
Easy, simple, safe, encrypted.
Bugs bug me.
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: NO SSH on raspberry pi

Post by erem »

i fail to see the relation between letsencrypt and ssh.
Since the title of the post deals with ssh, lets address that first.

if your pi is running headless and ssh does not connect, do the following
place an empty file called ssh in the boot directory of the SD card. (the boot dir is the only partition readable to windows on the sd card)
then boot from that sd card
that enables the ssh server.

in case you have a monitor and keyboard connected, the command to configure the pi is sudo raspi-config
option 3, then option P2 configures ssh

check if ssh now works using any ssh client (putty?) and report back.
Regards,

Rob
Nodri
Posts: 16
Joined: Saturday 03 November 2018 21:29
Target OS: -
Domoticz version:
Contact:

Re: NO SSH on raspberry pi

Post by Nodri »

Hello Erem,

So done that.
Access now via Putty, but that has always been the case i think.
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: NO SSH on raspberry pi

Post by erem »

ok, so ssh works
i am no letsencrypt expert, so i am afraid i cannot help there. Sorry
But if your goal is to access domoticz from outside your home, i use a vpn between my phone and my router for that. HvdW suggested that as well.
you may want to change the post title to something more descriptive of your problem, like "Certbot auto deprecated, how to update certificate now?"
Regards,

Rob
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest