You are not logged in.
Pages: 1
Hi, I have a problem with my sshd daemon. I have updated my OS, I have changed the .pacnew files and tested service with "systemctl start sshd.service" and it worked good. I have run command "systemctl enable sshd.service" and command executed good. But after reboot service does not start.
I have run "systemctl status sshd.service" and result is that service is loaded, but in Activa line it is inactive (dead).
I dont know what is happening, why is it inactive if it is loaded?
Thank you for you help.
Offline
Have you read the warnings: https://wiki.archlinux.org/index.php/Ss … shd_daemon ?
Offline
Not an Installation issue, moving to Newbie Corner...
Offline
Have a look at `journalctl -b` or tell us what the journal-entries in `systemctl status sshd` say
Offline
Post the full output of
systemctl status sshd.service
systemctl status sshd.socketSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
These are outputs:
$ systemctl status sshd.service
* sshd.service -OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/ssh.service: enabled)
Active: inactive (dead)
$ systemctl status sshd.socket
* sshd.socket
Loaded: loaded (/usr/lib/systemd/system/ssh.socket: enabled)
Active: active (listening) since Fri 2014-05-30 09:57:52 COT; 12min ago
Listen: [::]:22 (Stream)
Accepted: 0; Connected: 0It looks that socket is working, but service isn't. I have reviewed "journalctl -b" and sshd service isn't shown it.
Last edited by mams827 (2014-05-30 15:25:18)
Offline
Did you by any chance enable the socket as well ? I think you can only have one or the other. disable the sshd.service if you plan on using the socket. For the socket to work, you need to disable the ListenAddress and update the ListenStream/port number in sshd.socket file. See the wiki for more details.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1