You are not logged in.
I just installed arch, and followed the wiki instructions for enabling sshd.service, and I already locked myself out from the box once while trying to fix this, and I tried searching a lot about this issue.
https://wiki.archlinux.org/index.php/Ge … mendations recommends keeping track of the system "health" so thats when I discovered this.
Could someone explain what is wrong?
[yyy@xxxx ~]$ systemctl|grep sshd
sshd.service loaded active running OpenSSH Daemon
● sshd@21-10.0.0.74:22-123.456.789.123:52103.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@22-10.0.0.74:22-123.456.789.123:52658.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@23-10.0.0.74:22-123.456.789.123:53273.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@24-10.0.0.74:22-123.456.789.123:53534.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@25-10.0.0.74:22-123.456.789.123:54129.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@26-10.0.0.74:22-123.456.789.1235:55292.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@27-10.0.0.74:22-123.456.789.123:57155.service loaded failed failed OpenSSH Per-Connection Daemon
● sshd@28-10.0.0.74:22-123.456.789.123:57897.service loaded failed failed OpenSSH Per-Connection Daemon
system-sshd.slice loaded active active system-sshd.slice
The IP 123.456.789.123 is a box I used to ssh in from, and the local ip is 10.0.0.74 of this arch machine
Last edited by dratos97391 (2016-08-05 03:24:40)
Offline
Why are you starting a sshd@host.service and a sshd.service? What are you actually trying to do with ssh? Are you trying to do socket activation for it?
Last edited by Mr.Elendig (2016-08-04 08:26:02)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I only intend to use the sshd.service and nothing more.
Offline
disable the sshd.socket then
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I did
sudo systemctl disable sshd.socket
and it still shows them as failed with systemctl, how do I fully disable them?
Offline
nvm, I just needed to reboot and it works fine now! thanks for your help!
Offline
For future reference, disable only disables a given service/socket from being started on next boot, use systemctl stop or disable with the --now flag to stop a unit immediately https://wiki.archlinux.org/index.php/Sy … sing_units
Don't forget to mark as [Solved] by editing the title of your initial post
Last edited by V1del (2016-08-04 09:17:08)
Offline