From: Jannik ZANDER Date: Thu, 2 Jan 2020 15:45:12 +0000 (+0100) Subject: Add ssh-config X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=61b71145297d1a054f442ba4b5a688c7b49dc1d0;p=dotfiles.git Add ssh-config --- diff --git a/.ssh/config b/.ssh/config index 67bfbff..5cc562d 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,27 +1,13 @@ # default for all -#IdentityFile ~/.ssh/windy.key #IdentityFile ~/.ssh/gitolite3 -IdentityFile ~/.ssh/jannik -Host windy - User gitolite3 - IdentityFile ~/.ssh/gitolite3 - -# override as per host -Host silver - HostName 192.168.1.100 - -Host windy - HostName 192.168.1.101 - -Host git.zndr.dk - Hostname zndr.dk +Host localhost git.zndr.dk + HostName localhost User git - PreferredAuthentications publickey - IdentityFile ~/.ssh/windy.key + IdentityFile ~/.ssh/jannik Host zndr.dk + HostName zndr.dk User jaz - - + IdentityFile ~/.ssh/windy.key