pyavitz / rpi-img-builder

Image Builder for the Raspberry Pi
Other
166 stars 31 forks source link

SSH in Devuan #18

Closed markosc closed 4 years ago

markosc commented 4 years ago

hello Just testing on a raspberry pi 3 Devuan, but I have a question, I can't access by ssh, usually in x86 system I can activate it but for rpi sshd is complicated and it is by LAN

pyavitz commented 4 years ago

SSH is enabled by default, so there isn't anything that needs to be activated. Which Raspberry Pi 3 model are you using? I'm currently SSHed into a 3B+ thats connected by LAN and all seems fine.

Have you tried SSHing in using hostname.local? ssh username@bcm2710.local

pyavitz commented 4 years ago

After further investigation I found the problem was in the credentials script that is active on first boot. I made the following adjustments and also created a new image.

It also seems, that image had an issue regenerating new ssh keys during first boot. So it's very possible it was just a bad image?

Let me know if this resolves the problem. Thanx!

markosc commented 4 years ago

I usually connect with putty to the raspberry pi 3b + with its assigned IP (LAN), in this case, when entering the sshd configuration and activating allow root login, the port and any ip, I cannot connect, it rejects the connection, I will download the last image generated and I'll see if I still have problems, thanks.

markosc commented 4 years ago

thanks now I was able to connect through bcm2710.local and it looks good the system seems that devuan gives a plus to the raspberry pi 3

pyavitz commented 4 years ago

Good. I'm happy it worked for you. If any other problems should arise related to this subject feel free to open the issue again. Cheers!