Hacker News new | past | comments | ask | show | jobs | submit login

> sudo ufw allow from {your-ip} to any port 22

I'm surprised nobody mentioned this is a great way to shoot yourself in the foot if you don't have a static IP.

Ooo. Fair point. I'll add that now and link to your comment.

Great! Thanks for the article, it makes a good reference when setting up VPS's.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact