I cant restart sshd
I cant restart sshd
root@mx:/etc/ssh# systemctl restart sshd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
root@mx:/etc/ssh#
root@mx:/etc/ssh# systemctl status sshd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
root@mx:/etc/ssh#
root@mx:/etc/ssh# systemctl status sshd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
- dolphin_oracle
- Developer
- Posts: 22861
- Joined: Sun Dec 16, 2007 12:17 pm
Re: I cant restart sshd
systemctl is a systemd utility, which you are not using.
use service command
service SERVICENAME action
use service command
service SERVICENAME action
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: I cant restart sshd
service sshd restart
sshd: unrecognized service
service ssh restart
ssh: unrecognized servic
sshd: unrecognized service
service ssh restart
ssh: unrecognized servic
- dolphin_oracle
- Developer
- Posts: 22861
- Joined: Sun Dec 16, 2007 12:17 pm
Re: I cant restart sshd
Code: Select all
┌─[dolphin@mxXfceAHS]─[07:33:03 am]──────────────────────────────────────────────────────────────[~]
└─> sudo service ssh restart
Restarting OpenBSD Secure Shell server: sshd.
Last edited by dolphin_oracle on Thu Jul 18, 2024 7:40 am, edited 1 time in total.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
- DukeComposed
- Posts: 1516
- Joined: Thu Mar 16, 2023 1:57 pm
Re: I cant restart sshd
Confirm that sshd is installed and running. You can do this with "dpkg -l | grep openssh" and "netstat -na | grep LISTEN | grep 22" (as well as many other ways that are probably more efficient).
Re: I cant restart sshd
I dont see sshd nor ssh
Re: I cant restart sshd
Edit (according to your new post): It may be removed somehow. You can (re)install via "MX Package Installer".
Re: I cant restart sshd
But ssh is installed and running beacose I can use ssh for connect to other computer