mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +08:00 
			
		
		
		
	[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:
		
							parent
							
								
									3a227c8854
								
							
						
					
					
						commit
						6e20c74ff3
					
				
							
								
								
									
										8
									
								
								vendor/github.com/appleboy/easyssh-proxy/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/appleboy/easyssh-proxy/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -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, | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu