[Semibug] sshd configuration for Jails questions
markmoellering at psyberation.com
Wed Jan 25 16:52:36 EST 2023
Question. I am configuring a server , the ip address comes from DHCP but I
want to run jails, which means restricting the IP Addresses sshd listens on.
Normally, this is done by IP but I don't know how to do it for DHCP. Will
using the hostname work. for example
Or will that not work?
I have seen online that some people have cron scripts that look for a
change of DHCP IP and then update the sshd_config file and restart sshd but
I am hoping to avoid that...
Of course, I can use a non-standard port but not sure I want that either
P.S. Michael Lucas appears to not have addressed this in his book about
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Semibug