[SOLVED] How to restart sshd in one command? 22 January 2021, 12:53:08 During installation i have to change a setting of sshd and restart it.I found : # s6-rc -d change sshd # s6-rc -u change sshdIs there a way to do it in one command?I found a hint proposing: # s6-svc -r /run/service/$foobut there is no /run/service/sshd file. Last Edit: 23 January 2021, 21:49:03 by nous
Re: How to restart sshd in one command? Reply #1 – 22 January 2021, 13:07:37 try with /run/service/sshd-srv
Re: How to restart sshd in one command? Reply #2 – 22 January 2021, 13:36:56 I dont see warnings . i think it worked . thanks. 1 Likes
Re: How to restart sshd in one command? Reply #3 – 22 January 2021, 15:10:47 you can in general find the names with ls /run/service/, so to be certain.Marking it as solved