From d4767a469a86f317784375ed4b1adb4bf0d7e8f8 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 10 Jun 2021 21:16:50 +0200 Subject: Add ssh configurations for parrotOS and sapera --- .ssh/config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.ssh') diff --git a/.ssh/config b/.ssh/config index 4676904..975ba3b 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,4 +1,20 @@ Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye" +Match exec "hostname | grep -F Work-MBP.local" Host parrotOS + RemoteForward /run/user/1000/gnupg/S.gpg-agent /Users/a.abdelhalim/.gnupg/S.gpg-agent.extra + RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /Users/a.abdelhalim/.gnupg/S.gpg-agent.ssh + +Match exec "hostname | grep -F A14M-MBP.local" Host parrotOS + RemoteForward /run/user/1000/gnupg/S.gpg-agent /Users/a14m/.gnupg/S.gpg-agent.extra + RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /Users/a14m/.gnupg/S.gpg-agent.ssh + +Host parrotOS + ForwardAgent yes + StreamLocalBindUnlink yes + +Host *.sapera.cloud + PreferredAuthentications publickey + IdentityFile ~/.ssh/sapera + Host * ServerAliveInterval 300 -- cgit v1.2.3