summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-10-20 16:42:45 +0200
committerAhmed Abdelhalim <[email protected]>2025-10-20 16:44:08 +0200
commitb19310b228d999cd92116f2e7c222ffc829c04f6 (patch)
tree4be7c6da6a6639147ee094f3cb510e84ce921952
parent08e817eeb0d62dc8afc8dbd416971b68854036b2 (diff)
Add ssh configurations for working with ansible-distro-* projects
Remove workaround passing the gpg agent to remote machine to allow using gpg remotely with physical smart keys
-rw-r--r--.ssh/config10
1 files changed, 6 insertions, 4 deletions
diff --git a/.ssh/config b/.ssh/config
index 1b70897..4fd37fb 100644
--- a/.ssh/config
+++ b/.ssh/config
@@ -1,10 +1,12 @@
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
-Match exec "hostname | grep -E A14M*" 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 *iso.local
+ Port 22
+ StrictHostKeyChecking no
+ UserKnownHostsFile /dev/null
-Host archlinux.local
+Host *.local
+ User a14m
Port 39901
ForwardAgent yes
StreamLocalBindUnlink yes