Document support for address lookup master
authorJoey Schulze <joey@infodrom.org>
Sat, 16 Dec 2023 22:56:39 +0000 (23:56 +0100)
committerJoey Schulze <joey@infodrom.org>
Sat, 16 Dec 2023 22:56:39 +0000 (23:56 +0100)
src/projects/ssh-hostgen/index.wml

index 8925a7f..05a57d4 100644 (file)
@@ -14,6 +14,16 @@ file from multiple source files located in <code>~/.ssh/hosts.d/*.conf</code>.
 <p>Disabling block of hosts only requires renaming the respective
 source file and rebuilding the file used by ssh</p>
 
 <p>Disabling block of hosts only requires renaming the respective
 source file and rebuilding the file used by ssh</p>
 
+<p>You can easily use a lookup program to look up addresses</p>
+
+<pre>
+Host foo
+    Hostname {lookup program "name"}
+
+Host bar
+    ProxyCommand ssh jumphost nc -q0 {lookup ~/.ssh/lookup-address "bar GmbH"} 1234
+</pre>
+
 <p>Please send comments, patches and good ideas to <a href="mailto:joey@infodrom.org">Joey Schulze</a>.
 
 <p>
 <p>Please send comments, patches and good ideas to <a href="mailto:joey@infodrom.org">Joey Schulze</a>.
 
 <p>