DEV Community

[Comment from a deleted post]
Collapse
 
nicoroy2561 profile image
nicoroy2561

What I do is I create & manage a firewall using my host's website (rather than on the server itself). This way I can always log in to said host using my credentials+2FA and add/remove the IP address I want to allow SSH from anytime.