README ¶ sshcmd sshcmd is a golang library that allows the user to execute a CLI command over the ssh protocol and retrieve its output. Example logs, err := sshcmd.RemoteRun(User, IPAddress, PrivateKeyPath, "cat "+LogLocation) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func RemoteRun(user, ip, privateKeyFilePath, command string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RemoteRun ¶ func RemoteRun(user, ip, privateKeyFilePath, command string) (string, error) RemoteRun runs a command on a remote server and returns its output Types ¶ This section is empty. Source Files ¶ View all Source files sshcmd.go Click to show internal directories. Click to hide internal directories.