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
#!/bin/bash | |
# | |
# Generates SSH config from elements in config.d directory | |
# 2013/09/24 [email protected] | |
# | |
# Returns last modification epoch seconds for given file | |
# Usage: GetLastModification path | |
GetLastModification() { |
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
# Generic throughssh command | |
Host *.throughssh.* | |
User root | |
ProxyCommand ssh -A -q `echo %h | sed -e 's/^[^\.]*\.throughssh\.//'` -W `echo %h | sed -e 's/\.throughssh\.[^\.]*$//'`:%p | |
GSSAPIAuthentication yes | |
ForwardX11Trusted yes | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
LogLevel ERROR | |
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES |