Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My $PS1 always contains the hostname of the machine I'm SSH'd into IN ALL CAPS so that I never do this (again).


Given the well-established treachery of my finger muscle-memory, I'm much more comfortable with a hard interlock than something that relies on me checking the prompt. Definitely better than nothing though.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: