dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 35c84395e174b00fef95c97d8da230bb7adf3f6b
parent 37931569c67634450fdceab9d0a427199acfaac2
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun,  5 Apr 2020 14:21:11 -0400

ssh_config: Selectively use ForwardAgent

Diffstat:
M.ssh/config | 28++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/.ssh/config b/.ssh/config @@ -1,32 +1,33 @@ Host dotcom-git - HostName git.danielmoch.com + HostName 155.138.196.50 Host dotorg-git HostName git.djmoch.org Host *-git User git - ForwardAgent no - -Host sweetwater* sw* - HostName sweetwater.djmoch.org -Host longboard* lb* +Host longboard* lb + User root HostName longboard.djmoch.org + ForwardAgent yes Host urbock-mgmt* HostName urbock-mgmt.djmoch.org CheckHostIP no User root -Host urbock* ub* +Host urbock* ub HostName urbock.djmoch.org + ForwardAgent yes -Host hoplift* hl* dotcom dotcom-gpg dc* +Host hoplift* hl dotcom dotcom-gp HostName hoplift.danielmoch.com + ForwardAgent yes -Host webhost* wh* webhost.djmoch.org +Host webhost* wh webhost.djmoch.org HostName webhost.djmoch.org + ForwardAgent yes Host unifi uf HostName urbock-mgmt.djmoch.org @@ -35,13 +36,16 @@ Host unifi uf User root Host *-gpg - RemoteForward /run/user/10000/gnupg/S.gpg-agent /run/user/10000/gnupg/S.gpg-agent.extra + RemoteForward /run/user/10000/gnupg/S.gpg-agent /home/djmoch/.gnupg/S.gpg-agent.extra Host github github.com HostName github.com User git - ForwardAgent no + +Host phosphorus + HostName phosphorus.danielmoch.com + User root Host * User djmoch - ForwardAgent yes + ForwardAgent no