21st Mar, 2022, 08:53 PM
Hello,
after I have modified /etc/ssh/sshd_config how do i reload and restart SSH daemon?
$ systemctl restart sshd
$ /etc/init.d/ssh restart
$ service restart sshd
I dot want to reboot yet and want to use CLI, ideally no Xbian scripts and such (if no other way then i would, but how).
$ xbian-config
after I have modified /etc/ssh/sshd_config how do i reload and restart SSH daemon?
$ systemctl restart sshd
Quote:System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
$ /etc/init.d/ssh restart
Quote:Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh restart
/etc/init.d/ssh: 58: initctl: not found
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop ssh ; start ssh. The restart(8) utility is also available.
/etc/init.d/ssh: 106: start: not found
$ service restart sshd
Quote:-bash: service: command not found
I dot want to reboot yet and want to use CLI, ideally no Xbian scripts and such (if no other way then i would, but how).
$ xbian-config
Quote:-bash: xbian-config: command not found