Le 09. 11. 17 à 15:59, Mohammad Goodarzi a écrit :
> Hi,
>
> What do you think I must show so that you can help me fixing the problem?
Try:
ssh -l root myservice service sshd reload

It's what I would do on Debian / Ubuntu

>
> Thanks
>
>
> On Thu, Nov 9, 2017 at 8:17 AM, Holger Parplies <wb...@parplies.de
> <mailto:wb...@parplies.de>> wrote:
>
>     Hi,
>
>     Michael Stowe wrote on 2017-11-09 05:47:01 +0000 [Re:
>     [BackupPC-users] how to solve an error exteracting error]:
>     > On 2017-11-08 13:40, Mohammad Goodarzi wrote:
>     > >hi,
>     > >
>     > >I get this error when I do ssh -l root myservice service ssh reload
>     > >
>     > >ssh: unrecognized service
>     >
>     > ssh is [probably] telling you that "service" isn't what your distro
>     > uses to reload services.
>
>     actually, I think "service" is correct, but "ssh" isn't. Might be
>     "openssh"
>     or "ssh-server" or
>     "i-named-this-script-secure-remote-login-service". Hint
>     to the original poster: "ls /etc/init.d" (supposing that is where
>     your system
>     keeps init scripts) ... (*) (**)
>
>     > Since you haven't mentioned your Linux
>     > flavor -- or even *whether* you're using Linux -- it's very
>     > difficult to steer you in the direction of what exact command will
>     > reload ssh on the remote server.
>
>     Given the large amount of missing detail, it's not even sure
>     PermitRootLogin
>     was the cause of the problem - it's just one possibility. With
>     ":set terse"
>     I seem to have not mentioned that.
>
>     All of that said, reloading your ssh server configuration isn't
>     *strictly*
>     a BackupPC issue. I'm glad I didn't suggest "vi
>     /etc/ssh/sshd_config" as I
>     was first intending to ...
>
>     Regards,
>     Holger
>
>     (*) For consistency, I should have said "ssh -l root myserver ls
>     /etc/init.d".
>     (**) Disclaimer: if your system uses systemd, things might be
>     different. I
>          won't know until the last way around using systemd disappears.
>
>     
> ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     BackupPC-users mailing list
>     BackupPC-users@lists.sourceforge.net
>     <mailto:BackupPC-users@lists.sourceforge.net>
>     List:   
>     https://lists.sourceforge.net/lists/listinfo/backuppc-users
>     <https://lists.sourceforge.net/lists/listinfo/backuppc-users>
>     Wiki:    http://backuppc.wiki.sourceforge.net
>     <http://backuppc.wiki.sourceforge.net>
>     Project: http://backuppc.sourceforge.net/
>     <http://backuppc.sourceforge.net/>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to