Black Friday: 12 months of WIP for $99, until Sunday 11:59pm PT. Get the deal
Back
ShowYourWork

ShowYourWork

#showyourwork

The graveyard is the richest place on earth, buried in it are companies never built, books never written, and thoughts never dared spoken aloud.
Load previous page…
write about why you can't get public ipv4 of ec2 instance on aws #showyourwork i have to cross post it on X as well, though there is not chance there b/c no one is interested in infra stuff 🫠️
shit post until i am linkedin influencer 😂️ #showyourwork

hmm how is this better than SSH key-only auth?

Reply

if you go with ssh key-only auth (which i think you mean <key>.pem, in order to authenticate to your machine) & you don't set the from which IP can someone ssh into that machine then the following can happen:
- scan your instance
- spam SSH login attempts
- fill logs
- try username guessing
- attack SSH if a vulnerability appears
- keep your machine exposed unnecessarily

honestly if i want the easiest and least amount of configuration i would go with tailscale.
but if defense-in-depth matter then ssh-key + just your ip
or you can go one step further close port 22 completely and use aws session manager (i think digital ocean have sth like this as well, and all of the big clouds)

Reply
choose a font and stick to it for the next 30 days Explanation / headlines: Space Grotesk Code / commands: Fira Code Small labels: Space Grotesk Medium Big punchline: Space Grotesk Bold ain't gonna overthink this anymore, just put stuff out there #showyourwork
publish content about readiness & liveness probe #showyourwork
write about PRO and RTO in linkedin #showyourwork
well Dostoevsky story really changed me #showyourwork
Home
Search
Messages
Notifications
More

Are you sure?