Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Cannot start or add sshd on a fresh install [solved] (Read 2851 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cannot start or add sshd on a fresh install [solved]

Hi Everyone
Newbie here, but long time arch enthusiast.

I have a fresh new install of artix using runit and everything is working great with the exception of ssh.
It is mean to be a headless server, so really need the ssh up and running.

I have followed the guides around adding a service here: https://wiki.artixlinux.org/Main/Runit
I have also tried re-installing openssh but I am still unable to start or add sshd as a service for some reason.

IMG_4373.jpg
(apologies for the crappy quality)

also nothing in the /run/runit/service directory
I do see ssh installed under /etc

Any help would be highly appreciated, cheers

Re: Cannot start or add sshd on a fresh install

Reply #1
Code: [Select]
pacman -S openssh-runit

Quote
Installation of services
runit service packages are named package_name-runit and, when installed, will be available in /etc/runit/sv.

Re: Cannot start or add sshd on a fresh install

Reply #2
all sorted now, thank you.
Much appreciated :)

Re: Cannot start or add sshd on a fresh install [solved]

Reply #3
nextime enough read carefully  the wiki ;)  ;D

Re: Cannot start or add sshd on a fresh install [solved]

Reply #4
yeah but like I said, I am a noob at this.
And although I did read the above mentioned, it did not "click" for me as I was starting dhcpcd without "-runit" as normal.
So when looking at the /etc/runit/sv and seeing it as "sshd" (like it normally would) I did not figure to call is sshd-runit.

But there you go, you learn something everyday :)

Re: Cannot start or add sshd on a fresh install [solved]

Reply #5
Sorry, but I can't enable sshd.
 
Quote
ln -s /etc/runit/sv/sshd /run/runit/service/sshd
File exist error.
  I have installed openssh-runit.
 Fresh install of runit.
 Thank you

Re: Cannot start or add sshd on a fresh install [solved]

Reply #6
I manage to enable firewalld, but not sshd.

 

Re: Cannot start or add sshd on a fresh install [solved]

Reply #7
Isn't there already a link named sshd in your /run/runit/service?
Use ls to watch what happens on your filesystem, we can't do it for you