Use gpg-agent for ssh too.
[Dotty.git] / ssh / .ssh / config
diff --git a/ssh/.ssh/config b/ssh/.ssh/config
new file mode 100644 (file)
index 0000000..9388e19
--- /dev/null
@@ -0,0 +1,38 @@
+AddKeysToAgent yes
+
+Host niihau.vanrenterghem.biz
+        User frederik
+        Hostname niihau.vanrenterghem.biz
+        PreferredAuthentications publickey
+        IdentityFile /home/frederik/.ssh/niihau/id_rsa
+       ForwardAgent yes
+Host laysan.vanrenterghem.biz
+        User frederik
+        Hostname laysan.vanrenterghem.biz
+        PreferredAuthentications publickey
+        IdentityFile /home/frederik/.ssh/niihau/id_rsa
+Host niihau.onion
+       HostName hmpbd2zu6pwhplxb.onion
+       Port 22
+       User frederik
+        PreferredAuthentications publickey
+        IdentityFile /home/frederik/.ssh/id_rsa
+Host laysan.onion
+       HostName a23g4um577l6pxt5.onion
+       Port 22
+       User frederik
+        PreferredAuthentications publickey
+        IdentityFile /home/frederik/.ssh/id_rsa
+Host A20.onion
+       HostName d77qthgfqebrzql2.onion
+       Port 22
+        User frederik
+        PreferredAuthentications publickey
+        IdentityFile /home/frederik/.ssh/id_rsa
+Host *.onion
+       ProxyCommand nc -xlocalhost:9050 -X5 %h %p
+
+Host ch-s011.rsync.net
+       IdentityFile ~/.ssh/borgbackup/key.ch-s011.rsync.net
+       User 17926
+