Created
January 12, 2017 13:55
-
-
Save Sebastian1011/85218b7b92551fdc7e7f0bdcee10ec97 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| status=$(ssh -o BatchMode=yes -o ConnectTimeout=5 [email protected] echo ok 2>&1) | |
| if authored => ok | |
| if notAuthored => permission denied |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment