summaryrefslogtreecommitdiffstats
path: root/.ssh/config
diff options
context:
space:
mode:
Diffstat (limited to '.ssh/config')
-rw-r--r--.ssh/config16
1 files changed, 16 insertions, 0 deletions
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