Last active
June 15, 2021 11:44
-
-
Save atomicstack/36be6c71c24fe1b60070bfd4a1a4159d to your computer and use it in GitHub Desktop.
example Match stanza for ssh_config, which executes echo "hello world" before connecting to a (specific) host as a specific username. note: redirection to STDERR is necessary; using STDOUT will result in no output
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
Match host $HOSTNAME exec "echo 'hello world' 1>&2" | |
User $USERNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment