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.
]]>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….
]]>That is, put the public half off the ssh key pair into:
remotehost:/home/username/.ssh/authorirzed_keys]]>
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.
]]>@Dark
The workaround is using ssh passwordless-login as recommended in the guide, to secure transactions between the local computer and the remote system.
]]>