summaryrefslogtreecommitdiffstats
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
parent5a981d8e3f9d5b3e1947b4b41bb27ce48daed64d (diff)
Add ssh configurations for parrotOS and sapera
-rw-r--r--.gnupg/scdaemon.conf1
-rw-r--r--.ssh/config16
2 files changed, 17 insertions, 0 deletions
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