Created
February 17, 2016 17:55
-
-
Save jtattermusch/8c67d4bd88832ddf11bf to your computer and use it in GitHub Desktop.
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
# After adding ForceCommand to sshd_config, this will make sure that | |
# user's env variables are properly loaded. | |
source /home/jenkins/win_ssh_uservars.sh | |
if [ "$SSH_ORIGINAL_COMMAND" ] | |
then | |
bash -c "$SSH_ORIGINAL_COMMAND" | |
fi | |
bash - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment