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 --- .gnupg/scdaemon.conf | 1 + .ssh/config | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gnupg/scdaemon.conf diff --git a/.gnupg/scdaemon.conf b/.gnupg/scdaemon.conf new file mode 100644 index 0000000..eb818dd --- /dev/null +++ b/.gnupg/scdaemon.conf @@ -0,0 +1 @@ +disable-ccid 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