Displaying 1 result from an estimated 1 matches for "sshd_listen_address".
2010 Mar 20
4
select ip-address for sshd_config
...our sshd_config to tell
which interface sshd is supposed to listen on. Normally it''s the
address for eth1, but it might be the address for eth0 if there is
none for eth1, and it might be both..
So, could someone help me with the erb template for my sshd_config:
ListenAddress <%= sshd_listen_address %>
The priority should be:
1 - $sshd_listen_address defined in node template
2 - $ipaddress_eth1 fact if defined
3 - $ipaddress fact
4 - default = 0.0.0.0 (probably not necessary since $ipaddress
should always be defined..?)
-jf
--
You received this messag...