add example for hostkeysalias

This commit is contained in:
Nico Schottelius 2007-08-17 00:23:17 +02:00
parent e5010b0d06
commit bb4a870852

View file

@ -522,7 +522,20 @@ host mx2.schottelius.org
If you only use that port for backup and normally want to use another port, If you only use that port for backup and normally want to use another port,
you can add 'HostName' and "HostKeyAlias" (if you also have different you can add 'HostName' and "HostKeyAlias" (if you also have different
keys on the different ports). keys on the different ports):
--------------------------------------------------------------------------------
Host hhydrogenium
Hostname bruehe.schottelius.org
Port 666
HostKeyAlias hydrogenium
Host bruehe
Hostname bruehe.schottelius.org
Port 22
HostKeyAlias bruehe.schottelius.org
--------------------------------------------------------------------------------
Using source names or interval in pre_/post_exec scripts Using source names or interval in pre_/post_exec scripts