-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-2660: Print selected SSH output to stderr (#120)
* If debug is not enabled, it will now still print selected SSH output to stderr: - "Authenticated to" ... message - "port forwarding failed" messages - "Sorry, user {user} may not run sudo..." messages (on pre-test only) * Print an error message when SSH pre-test fails. Examples: ./p0 ssh dev-instance-fabian-joya --provider gcloud -- -NR '*:8080:localhost:8088' -o 'GatewayPorts yes' Authenticated to dev-instance-fabian-joya (via proxy) using "publickey". Warning: remote port forwarding failed for listen port 8080 ./p0 ssh dev-instance-fabian-joya --sudo Failed to establish an SSH session. Use the --debug option to see additional details.
- Loading branch information
Showing
4 changed files
with
39 additions
and
8 deletions.
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
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
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