summaryrefslogtreecommitdiffstats
path: root/.ssh/config
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-06-10 21:16:50 +0200
committerAhmed Abdelhalim <[email protected]>2021-06-10 21:16:50 +0200
commitd4767a469a86f317784375ed4b1adb4bf0d7e8f8 (patch)
tree1f5126dc676ca7cec794273eac22ddd063f26824 /.ssh/config
parent5a981d8e3f9d5b3e1947b4b41bb27ce48daed64d (diff)
Add ssh configurations for parrotOS and sapera
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