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

That's how you gracefully shut down an SSH session, with the socket close initiated from the remote end (where the shell is running.)

\n~. is for gracefully exiting a stuck/hung SSH session (e.g. one where the remote isn't responding to input) without force-killing the SSH client itself (which might do bad things to the process group it lives in.)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: