From 837b2cf7b066bb99ecedfc49dae085818b5e10d0 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 16 Oct 2022 10:12:46 -0700 Subject: [PATCH] ssh --- .gitignore | 5 ++--- .ssh/config | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a9bf3b4..cbf28b7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,8 @@ private .local !.local/share/nvim -.ssh/*_rsa -.ssh/config.local -.ssh/known_hosts +.ssh +!.ssh/config .vim/.VimballRecord .vim/.netrwhist diff --git a/.ssh/config b/.ssh/config index a655b2a..5ce74dd 100644 --- a/.ssh/config +++ b/.ssh/config @@ -4,10 +4,10 @@ ControlMaster auto ControlPath /tmp/%r@%h:%p ControlPersist yes -Include ~/.ssh/config.local - -Host on-fire-within - Hostname 192.168.1.101 +Host * + IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" Host 127.0.0.1 StrictHostKeyChecking no + +Include ~/.ssh/config.local