I have a few Ubuntu server boxes set up on ESX, and I changed the IP addresses via SSH. The moment I changed it, it dropped me off of SSH (as expected).
After a restart it works 100% as expected and I can SSH in on the new IP.
However, as much as this works and I know it is a solution, I am trying to learn Linux and would like to restart/bind SSH to the new IP without restarting.
I have attempted
/etc/init.d/ssh restart (and
services ssh restart (and
start), but, nothing seems to work.
However, the weird thing is that from my other server (running on the same ESX box) I can SSH in on the new IP, but, I just can't seem to SSH in from anywhere else until the box is restarted.
I can't work out what I am doing wrong.
Has anyone seen this or can they offer any advice?
(if it changes anything, the IPs I was moving from/to are all internet/public directly routed IPs)