From 61b71145297d1a054f442ba4b5a688c7b49dc1d0 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Thu, 2 Jan 2020 16:45:12 +0100 Subject: [PATCH] Add ssh-config --- .ssh/config | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) 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 -- 2.43.0