Report this

What is the reason for this report?

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

Posted on July 31, 2020

Dear DigitalOcean, im wandering, if i do: sudo ufw allow from 15.15.15.0 to any port 22

only IP 15.15.15.0 will be able to connect to ssh, what if my ip changes? will i be able to access my droplet?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

simply, no you want be able. if you want another layer of protection use key and/or 2fa auth. DO has exellent tutorials for that.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.