Host * ForwardX11 yes PermitLocalCommand yes #LocalCommand tar c -C${HOME} --exclude="dotfiles/.git" --exclude=".zim/.git" dotfiles .zim | ssh -o PermitLocalCommand=no %n "tar mx -C${HOME}; bash ~/dotfiles/dotfiles_setup.sh ; chsh -s /bin/zsh" Host summonerapi HostName 46.4.78.43 Host biodata0 User bauer HostName biodata0.compbiol.bio.tu-darmstadt.de Host bioclust User bauer HostName bioclust.bio.tu-darmstadt.de Host bioinfo4 HostName 10.0.0.4 User bauer ProxyCommand ssh -q biodata0 nc -q0 %h 22 Host lcluster?* User yg38ymab ForwardX11 yes HostName %h.hrz.tu-darmstadt.de