You are not logged in.
Pages: 1
I just built a machine for scratch. I Iogged in as root and did the following:
# pacman -S openssh
.
.
.
# systemctl enable sshd.socket
Failed to enable unit: Unit file sshd.socket does not exist
The install ran without errors. I'm rather sure I've done this in the past but it has been awhile since I needed to set ssh up.
Also I tried enabling ssh as a service and that works fine. Just can't get it going as socket.
Any thoughts would be helpful. Thanks.
Last edited by hbc2 (2019-09-27 12:58:42)
Offline
Close, just do
systemctl enable sshd.service
Edit: You do not manually enable sockets, but they are handled through service files: "For each socket unit, a matching service unit must exist"
Looks like I am very wrong. Neat. The following post provides an answer. https://www.freedesktop.org/software/sy … ocket.html
Last edited by Swiggles (2019-09-22 15:58:50)
Offline
You do manually enable sockets, but openssh doesn't ship with a socket anymore.
Offline
Offline
Thanks, all.
Offline
Pages: 1