Hacker News

Top stories

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

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