Hacker News

Top stories

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

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