[easyssh] update ssh command document (appleboy/easyssh-proxy#32)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

https://github.com/appleboy/drone-ssh/commit/b38fe0f24f7
This commit is contained in:
Bo-Yi Wu 2017-05-29 02:07:41 -05:00 committed by Wataru Ashihara
parent 3a227c8854
commit 6e20c74ff3
No known key found for this signature in database
GPG Key ID: CE9EC2D5AE43DEFA

View File

@ -57,7 +57,13 @@ func main() {
Server: "example.com", Server: "example.com",
// Optional key or Password without either we try to contact your agent SOCKET // Optional key or Password without either we try to contact your agent SOCKET
//Password: "password", //Password: "password",
Key: "/.ssh/id_rsa", // Paste your source content of private key
// Key: `-----BEGIN RSA PRIVATE KEY-----
// MIIEpAIBAAKCAQEA4e2D/qPN08pzTac+a8ZmlP1ziJOXk45CynMPtva0rtK/RB26
// 7XC9wlRna4b3Ln8ew3q1ZcBjXwD4ppbTlmwAfQIaZTGJUgQbdsO9YA==
// -----END RSA PRIVATE KEY-----
// `,
KeyPath: "/Users/username/.ssh/id_rsa",
Port: "22", Port: "22",
Timeout: 60 * time.Second, Timeout: 60 * time.Second,
} }