README ¶ Example Golang ssh client Define alias in ~/.ssh/config Host example User ubuntu Hostname 10.11.11.11 IdentityFile ~/.ssh/id_rsa ForwardAgent yes Run command whoami on remote host with alias example. conn := createConnection("example") runCommand("whoami", conn) defer conn.Close() Install go mod download Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.