ssh - golang: Execute shell commands on remote server -


I have some 50 Linux machines (RHELs) I have some commands on a machine running a central machine on these machines Want to run I have a password-less SSH authentication setup for all remote machines from a customer machine. Even though I am also open to non-SSH solutions, although some are safe choices.

The order will change with the running time. I would also like to process the output and would like to send the commands that run on the remote machines in my script running on the central machine.

I found only that which supports the password authentication method, which is not good

You are using the public key using the go.crypto / ssh package.

A detailed example is in the surrounding line 114.

Another example using SSI agent @


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

java - Algorithm negotiation fail SSH in Jenkins -