What to consider when an IP address change is needed on a server running an SSH Server?
asked Dec 29 '10 at 21:26
SSH KB ♦
Changing the IP address of a server running the ssh-server-g3 daemon does not normally affect the SSH server operation. However, there are a few exceptions that should be noted.
Users Connecting via IP
If users are connecting to the sshd2 daemon using IP address rather than hostname, they will need to be notified of the IP address change so they may update their connection profiles. Any users connecting via IP address will also receive a message that they have not connected to this server before when they connect to the server for the first time after the IP address change. They will need to verify the fingerprint of the presented hostkey, then save the hostkey to prevent the message from displaying again.
By default, the listener address is set to 0.0.0.0, which means the daemon listens on all interfaces, so the config file would not need to be modified in the event of an IP address change if the listener is set to the default value.
If the daemon is set to listen only on a specific interface using the
Reverse DNS Mapping and Hostbased Authentication
By default, the ssh-server-g3 does not require reverse DNS mapping. However, if there is an error in updating DNS after an IP address change, and either the server is set to require reverse mapping, or if hostbased authentication is being performed and the
answered Dec 29 '10 at 21:33
SSH KB ♦