You are not logged in.

#1 2016-08-04 08:15:24

dratos97391
Member
Registered: 2016-08-04
Posts: 55

[Solved] systemctl shows some sshd parts as failed

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

#2 2016-08-04 08:23:45

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] systemctl shows some sshd parts as failed

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

#3 2016-08-04 08:34:22

dratos97391
Member
Registered: 2016-08-04
Posts: 55

Re: [Solved] systemctl shows some sshd parts as failed

I only intend to use the sshd.service and nothing more.

Offline

#4 2016-08-04 08:35:58

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] systemctl shows some sshd parts as failed

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

#5 2016-08-04 08:44:05

dratos97391
Member
Registered: 2016-08-04
Posts: 55

Re: [Solved] systemctl shows some sshd parts as failed

I did
sudo systemctl disable sshd.socket

and it still shows them as failed with systemctl, how do I fully disable them?

Offline

#6 2016-08-04 08:58:52

dratos97391
Member
Registered: 2016-08-04
Posts: 55

Re: [Solved] systemctl shows some sshd parts as failed

nvm, I just needed to reboot and it works fine now! thanks for your help!

Offline

#7 2016-08-04 09:16:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [Solved] systemctl shows some sshd parts as failed

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

Board footer

Powered by FluxBB