Question

Will I be able to access my server if i limit ssh IP, if my IP changes?

Posted July 31, 2020 238 views
Security

I was wandering, if i enable UFW firewall on ssh, and allow only my ip to pass, if my ip changes, is there any way to access droplet or will i be locked out of droplet for good?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi, @filipstrelec

Even if your IP address is changed you can still access the droplet using the console within your DigitalOcean’s account, meaning you can always access the droplet and allow your new IP address.

The Droplet console provides out-of-band access and is available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. You can use this feature to log in and revert bad settings to regain normal access.

You can find more information about the droplet console here:

https://www.digitalocean.com/docs/droplets/resources/console/

Hope that this helps!
Regards,
Alex

Submit an Answer