How do i restart ad reload SSH daemon?
|
21st Mar, 2022, 08:53 PM
Post: #1
|
|||
|
|||
How do i restart ad reload SSH daemon?
Hello,
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. $ /etc/init.d/ssh restart Quote:Rather than invoking init scripts through /etc/init.d, use the service(8) $ 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 |
|||
22nd Mar, 2022, 01:53 AM
Post: #2
|
|||
|
|||
RE: How do i restart ad reload SSH daemon?
There is no need to restart sshd because it is not a service, it is spawned by inetd per default
|
|||
22nd Mar, 2022, 03:39 AM
Post: #3
|
|||
|
|||
RE: How do i restart ad reload SSH daemon?
(22nd Mar, 2022 01:53 AM)Nachteule Wrote: There is no need to restart sshd because it is not a service, it is spawned by inetd per default I do not know what that means. So there is no service in Xbian that needs to be restarted? And in ssh case, changes made in mentioned file are reflected immediately or which command to run? |
|||
22nd Mar, 2022, 03:59 AM
Post: #4
|
|||
|
|||
RE: How do i restart ad reload SSH daemon?
As I said, there is no dedicated sshd service, so it cannot be restarted.
inetd listens on the ssh port and starts the sshd on request. And after a while of inactivity (I don't know how long that is at the moment) the sshd is stopped again. The next time it is started, the new settings are used |
|||
7th May, 2024, 02:14 PM
Post: #5
|
|||
|
|||
RE: How do i restart ad reload SSH daemon?
(22nd Mar, 2022 01:53 AM)Nachteule Wrote: There is no need to restart sshd because it is not a service, it is spawned by inetd per default That means there isn't a service in Xbian that requires restarting? And in the case of SSH, are modifications made in the specified file instantly reflected, or do I need to perform a command? |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] Kodi reload loop after update | Darkguy | 3 | 8,219 |
16th May, 2016 06:40 AM Last Post: Nachteule |