-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some privatekey password options (#174)
* Add some privatekey password options * Debug ParsePrivateKeyWithPassphrase use error * Update change private key password option name * Update change private key password passphrases -> passphrase * Add Unit testing Co-authored-by: 张俊杰 <[email protected]>
- Loading branch information
1 parent
2929b00
commit 76657de
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,7 @@ On application startup, the configured probes are scheduled for their initial fi | |
host: [email protected]:22 | ||
password: xxxxxxx | ||
key: /Users/user/.ssh/id_rsa | ||
passphrase: xxxxxxx | ||
cmd: "ps auxwe | grep easeprobe | grep -v grep" | ||
contain: easeprobe | ||
``` | ||
|
@@ -685,6 +686,7 @@ ssh: | |
username: ubuntu # SSH Login username | ||
password: xxxxx # SSH Login password | ||
key: /path/to/private.key # SSH login private file | ||
passphrase: xxxxxxx # PrivateKey password | ||
cmd: "redis-cli" | ||
args: | ||
- "-h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters