Comments on: How to Control Systemd Services on Remote Linux Server https://www.tecmint.com/control-systemd-services-on-remote-linux-server/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 18:49:48 +0000 hourly 1 By: David https://www.tecmint.com/control-systemd-services-on-remote-linux-server/comment-page-1/#comment-1877735 Mon, 12 Sep 2022 11:24:39 +0000 https://www.tecmint.com/?p=28339#comment-1877735 Hello,

When trying to use a remote to ubuntu from centos it gives the below error, ubuntu to centos works with no issues.

Failed to parse bus message: No such device or address

Do you have any idea what is happening?

Thanks.

]]>
By: sanro https://www.tecmint.com/control-systemd-services-on-remote-linux-server/comment-page-1/#comment-1840457 Tue, 05 Jul 2022 15:26:52 +0000 https://www.tecmint.com/?p=28339#comment-1840457 Sandro,

I have a question if the sshd service was killed by the user. If he frightened by the shutdown or other activity then we have systemctl --host command to restart another localhost using this command

ex:

$ systemctl --host root@000.000.00.00 is-active sshd.service

I want the correct command if any one know then tell me….

]]>
By: Steven J Owens https://www.tecmint.com/control-systemd-services-on-remote-linux-server/comment-page-1/#comment-1472701 Thu, 08 Apr 2021 03:47:20 +0000 https://www.tecmint.com/?p=28339#comment-1472701 In reply to Steven J Owens.

That is, put the public half off the ssh key pair into:

remotehost:/home/username/.ssh/authorirzed_keys
]]>
By: Steven J Owens https://www.tecmint.com/control-systemd-services-on-remote-linux-server/comment-page-1/#comment-1472700 Thu, 08 Apr 2021 03:46:05 +0000 https://www.tecmint.com/?p=28339#comment-1472700 In reply to Aaron Kili.

You can set up ssh passwordless login by using ssh-copy-id to put the public half of the ssh key pair into remotehost:/home/username/.ssh/config/authorized_keys.

However, even when logged into the shell on the remote host, you have to use sudo to call systemctl unless there’s some way to set up systemctl so that user has access without sudo.

I’m pretty sure that’s what the commenter was asking about, and I arrived at this page because I’m looking for the same information.

]]>
By: Aaron Kili https://www.tecmint.com/control-systemd-services-on-remote-linux-server/comment-page-1/#comment-1341902 Thu, 02 Jul 2020 17:46:56 +0000 https://www.tecmint.com/?p=28339#comment-1341902 In reply to Dark Star.

@Dark

The workaround is using ssh passwordless-login as recommended in the guide, to secure transactions between the local computer and the remote system.

]]>