Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: iUseLinux on 20 May 2021, 22:11:54

Title: SSH Server setup
Post by: iUseLinux on 20 May 2021, 22:11:54
I'm completely lost on setting up an SSH server. Without systemctl, there's almost 0 tutorials on how to start sshd, which is probably enough to get me to leave Artix. But, I'm sure there's a way to do it without systemd. HOW DO I START AN SSH SERVER?!
Title: Re: SSH Server setup
Post by: SGOrava on 20 May 2021, 22:20:12
You need to start sshd service by your init system.

The init scripts are not provided by default and need to be isntalled (as mentioned countles times on our wiki).
So run something like:
Code: [Select]
pacman -S openssh-openrc
pacman -S openssh-runit
pacman -S openssh-s6
pacman -S openssh-66

The name of the service should be sshd.
If you are unsure you can list the content of the package after you have installed it by:
Code: [Select]
pacman -Ql openssh-openrc

And than you configure your init to start it.
Title: Re: SSH Server setup
Post by: iUseLinux on 20 May 2021, 22:45:42
Thanks. And I might as well ask how to setup RDP, because whenever I start xrdp, it only displays the login screen, and when I enter the credentials, it just freezes
Title: Re: SSH Server setup
Post by: SGOrava on 20 May 2021, 22:49:15
I have no idea how to start rdp since I never configured it. Try to check Archwiki, or wait for someone else to answer you.
(Probably  create new topic since it is different question)