Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. F-Droid 2.0 (f-droid.org)
    301comments
  2. Show HN: Make cursed fonts like Times New Bastard (mitpit.com)
    86comments
  3. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    109comments
  4. Why is the liver so weirdly regenerative? (dynomight.substack.com)
    188comments
  5. 2DWillNeverDie (2dwillneverdie.com)
    32comments
  6. Fearless SIMD v1.0 (linebender.org)
    34comments
  7. Rails World 2026 Opening Keynote [video] (youtube.com)
    336comments
  8. Toyota is taking the Corolla electric (electrek.co)
    496comments
  9. My weird new hobby: Wandering around Tokyo on Google Maps (ahmedhossamdev.com)
    127comments
  10. Using LLMs to trace alchemical knowledge and decode 17th century letters (resobscura.substack.com)
    20comments
  11. Goodbye Google (ocallahan.org)
    147comments
  12. Google’s Project Suncatcher to put ML infrastructure in space (blog.google)
    303comments
  13. Two-tier encryption in the UK (macanorak.com)
    387comments
  14. Writing Parquet files using Haskell (datahaskell.org)
    5comments
  15. Opus 5.5 is good at explainer videos (launchvideo.io)
    115comments
  16. Book review: Is parallel programming hard, and, if so, what can you do about it? (ahelwer.ca)
    37comments
  17. The Board Game of the Alpha Nerds (2014) (grantland.com)
    28comments
  18. California is chasing wealth that has feet (landeconomics.org)
    585comments
  19. Security auditing in the age of (good enough) AI (trailofbits.com)
    12comments
  20. Show HN: Air-gapped file encryption as self-decrypting HTML page (apeleg.com)
    18comments
  21. Sourcehut account takeover via build logs (XSS in ansi2html) (blog.arusekk.pl)
    19comments
  22. The forgotten battle of East Lansing (eastlansinginfo.news)
    16comments
  23. WaveDigger: Dig into wireless signals to discover their physical locations (github.com/christianrowlands)
    20comments
  24. Nokia Design Archive (2025) (aalto.fi)
    121comments
  25. The Bayeux Tapestry: Woven by the Victors (historytoday.com)
    6comments
  26. Show HN: Koi.rest – watch some fish and regain your balance (koi.rest)
    42comments
  27. Geothermal heat map of US hot springs (soakingsprings.com)
    39comments
  28. Stable (YC W20) Is Hiring Product Engineers (usestable.com)
    —discuss
  29. Forging 1024-bit RSA signatures in nearly SNFS time [pdf] (iacr.org)
    11comments
  30. Motor Characterization for Small Running Robots (2016) (robot-daycare.com)
    3comments

To kill a frozen OpenSSH session, type “⏎ ~ .” – aka Enter, Tilde, Period

2 pointsby 10y agoblog.infertux.com
2 comments
10y agoHN ↗

...Or in British English, "Full-Stop."

Type "⏎ ~ ?" for a tiny options menu!

Credit where credit is most definitely due: https://www.reddit.com/r/linux/comments/4hlsmn/til_how_to_pr...

As one of the commenters in that thread noted, "Open command line" in the aforementioned options menu lets you manipulate the port forwarding table in an open session; type 'h' for further help.

And as another commenter said, I guess I should have properly gone through the manpage for SSH at some point (along with many other manpages)...

I'm very interested to know where this feature does/does not work on the various variants of UNIX and BSD that are out there. I expect this is a standard OpenSSH feature, but when was it introduced, and how widely is it supported?

---

Also, as a semi-rant aside: the usage of the Enter key is an incredibly, incredibly poor choice - what about the scenario where the connection has died badly enough that update packets are being dropped, but your keystrokes are getting through, and the remote system gets into a state where you would NOT want to send a carriage return?

I've had VNC freeze up on me once or twice where I reconnect and find that my typing input got through, but that the display updates just couldn't make it back. Granted, VNC is a bit heftier than SSH, but if in certain situations I don't think I'd feel too bad about chickening out and resorting to `kill` (or ^B X, as the author writes).

Also, I don't think I need to add "(2012)" to the end of this.

10y agoHN ↗

It dates back to the rlogin command from 4.2BSD in 1983.

Technically, the return key isn't part of the sequence. An escape sequence in rlogin is defined as a line where a tilde, or (more properly) the escape character (since it can be changed with a command-line option), is the first character that is typed at the start of a line.

* https://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7mjg/inde...

* http://www.gnu.org/software/inetutils/manual/html_node/rlogi...

rlogin wasn't the only command where a line starting with an escape character was special. When Berkeley Mail was in compose mode, one could do various things with such lines.

* https://docs.freebsd.org/44doc/usd/07.mail/paper.pdf