Hacker GitHub

← All repos

openssh/openssh-portable

View on GitHub ↗ ★ 4,077 C

Portable OpenSSH

73 mentions on Hacker News by 64 people: 5 stories, 68 comments · first 2015-07-22 · latest 2026-10-10

Mentions per year 73 mentions · busiest year 2024 (18)
20082026
  1. …(Andre Lucas, who wrote the multi-platform login recording code). You can see the current set here: https://github.com/openssh/openssh-portable/blob/master/.git...
    comment by daztucker · 2026-10-10 · in OpenSSH 10.6
  2. …longer supported as the API we depended upon has been removed and no obvious alternative provided. https://github.com/openssh/openssh-portable/commit/d4b4c304a...
    comment by brynet · 2026-10-06 · in OpenSSH 10.6
  3. …typing, and even then there's no delay if it can bundle key presses with non-interactive data. See https://github.com/openssh/openssh-portable/blob/088ca00/cli... For a full desktop session, X11 over TCP should be much faster just because…
  4. It's very difficult to reason about, for instance compare the OpenSSH sshd sandbox implementations. https://github.com/openssh/openssh-portable/blob/master/sshd... https://github.com/openssh/openssh-portable/blob/master/sand...…
  5. …it is only applied for PTY sessions, which most computer-computer connections wouldn't be using. https://github.com/openssh/openssh-portable/blob/d7950aca8ea...
  6. …auth. There's a CVE for this, CVE-2016-20012, but the OpenSSH maintainers rejected it as by-design, https://github.com/openssh/openssh-portable/pull/270 .
  7. Upstream is either OpenBSD itself or https://github.com/openssh/openssh-portable , not the FreeBSD port. I'm... not sure why nix is pulling the patch from FreeBSD, that's odd.
    comment by yjftsjthsd-h · 2025-12-16 · in High Performance SSH/SCP
  8. …(unlike OpenPGP) - due to SSH keys being small the policy file is also small and readable, compare https://github.com/openssh/openssh-portable/blob/master/.git... with equivalent OpenPGP https://gitlab.com/sequoia-pgp/sequoia/-/blob/main/op…
    comment by wiktor-k · 2025-04-07 · in 20 years of Git
  9. I wonder how this will affect ssh. OpenSSH recently restricted more characters for valid usernames: https://github.com/openssh/openssh-portable/commit/7ef3787c8...
    comment by mmsc · 2024-12-06 · in Debian opens a can of username worms
  10. …[6] https://gitweb.gentoo.org/proj/hardened-refpolicy.git/tree/p... [7] https://github.com/openssh/openssh-portable/blob/master/sand...
  11. …to the SCP command until 2020, committed in 2021, so "over a decade" is just factually impossible: https://github.com/openssh/openssh-portable/commit/197e29f1c... This is why you need to know these things, because now you kind of look like…
  12. >As mentioned elsewhere here, is -D sufficient to avoid exploitation, or is -e necessary as well? https://github.com/openssh/openssh-portable/blob/V_9_8_P1/ss... sshd.c handles no_daemon (-D) and log_stderr (-e) independently. log_stderr…
  13. …the entire world relies on for secure access is maintained by seemingly just two people [2]. [1] https://github.com/openssh/openssh-portable/commit/752250caa... [2] https://github.com/openssh/openssh-portable/graphs/contribut...
  14. Default is 100: https://github.com/openssh/openssh-portable/blob/master/serv...
  15. …source, please restart sshd after installing, otherwise you run the risk of locking yourself out. https://github.com/openssh/openssh-portable/commit/03e3de416... Edit: Already reported at https://gitlab.archlinux.org/archlinux/packaging/pac…
  16. …code from sshd's SIGALRM handler to sshd's listener process, where it can be handled synchronously: https://github.com/openssh/openssh-portable/commit/81c1099d22b81ebfd20a334ce986c4f753b0db29 Because this fix is part of a large commit…
  17. …sshd will record a penalty of some duration (e.g. 30 seconds) against the client's address. https://github.com/openssh/openssh-portable/commit/81c1099d2... It's not really a reversable patch that gives anything away to attackers: it…
  18. https://github.com/openssh/openssh-portable/commit/81c1099d2...
  19. …[3] https://www.openssh.com/portable.html [4] https://anongit.mindrot.org/openssh.git [5] https://github.com/openssh/openssh-portable [6] https://anongit.mindrot.org/openssh.git/tree/servconf.c?id=0...
  20. Yes: https://github.com/openssh/openssh-portable/commit/03e3de416...
  21. https://github.com/openssh/openssh-portable/commit/08f579231... ?
  22. …systems and includes support for OS-native authentication and auditing (e.g. using PAM). * https://github.com/openssh/openssh-portable Perhaps see specifically the "openbsd-compat" directory, otherwise I think the source tree is very close…
  23. Default for the last 24 years according to https://github.com/openssh/openssh-portable/blame/385ecb31e1...
    comment by contingencies · 2024-05-01 · in New startup sells coffee through SSH
  24. …simple to interface and quite a nice feature in the first place. The free-standing implementation: https://github.com/openssh/openssh-portable/commit/08f579231...
  25. I have looked in the sshd code at https://github.com/openssh/openssh-portable and I cannot find it forking and re-execing _itself_. It forks and execs other commands, of course, and it forks to handle new connections but does not re-exec…
  26. …low-privilege process. I don't know any details about that. Here's what Google showed me for that: https://github.com/openssh/openssh-portable/blob/master/READ...
  27. No, I'm thinking of SSH certificates. Here is the description of file format, it's nothing like x509 https://github.com/openssh/openssh-portable/blob/master/PROT...
    comment by adontz · 2023-12-17 · in SSH3: SSHv2 using HTTP/3 and QUIC
  28. The key layout is described in https://github.com/openssh/openssh-portable/blob/master/PROT... and you can view it pretty easily via cat private_key_here | head -n -1 | tail -n +2 | base64 -d | xxd One I created in 2016 is using aes256-cbc…
  29. …it looks like ssh-agent disables core dumps[1], but I don't see similar usage for sshd 1: https://github.com/openssh/openssh-portable/blob/694150ad927...
  30. …on the previous one for the PING/PONG messages used to simulate keystrokes and terminal echo: https://github.com/openssh/openssh-portable/commit/dce6d80d2...
  31. Link to the actual commit: https://github.com/openssh/openssh-portable/commit/7603ba712...
  32. …through an arbitrary local process which can do anything to forward the data to the remote end. https://github.com/openssh/openssh-portable/pull/431
  33. …popular one having done so. [1] https://developers.yubico.com/WebAuthn/Concepts/Using_WebAut... [2] https://github.com/openssh/openssh-portable/blob/master/PROT...
  34. …the code briefly; the client fortunately does seem to remove all keys not provided by the server: https://github.com/openssh/openssh-portable/blob/36c6c3eff5e... It seems like at least a `known_hosts` compromise would be "self-healing"…
    comment by lxgr · 2023-03-25 · in We updated our RSA SSH host key
  35. …socket to make signing requests. https://framkant.org/2017/10/strong-authentication-openssh-h... https://github.com/openssh/openssh-portable/blob/12492c0abf1...
    comment by mlyle · 2023-03-24 · in We updated our RSA SSH host key
  36. Well, it used to break scp, but then I fixed scp: https://github.com/openssh/openssh-portable/commit/77e05394a...
    comment by CamJN · 2022-08-16 · in SSH tips and tricks
  37. …through seccomp[1] (which NB is quite an achievement to get right, contrast with pledge[2]). [1]: https://github.com/openssh/openssh-portable/blob/master/sand... [2]: https://github.com/openssh/openssh-portable/blob/master/sand...…
    comment by rollcat · 2022-06-22 · in How I would sell OpenBSD as a salesperson
  38. …x25519 keypair for the x25519 component of sntrup761x25519, but it seems like a bad idea) [1] https://github.com/openssh/openssh-portable/blob/master/kexs...
  39. Hi Greg, that's the first thing I tried to do. Alas they have issues disabled on the github repo; https://github.com/openssh/openssh-portable/issues redirects to /pulls. So I cloned the repo to start looking more closely at the code in a…
    comment by pengaru · 2022-04-08 · in OpenSSH 9.0
  40. …were integrated into the poll loop. This is a mess, and I'm pretty sure I already see a bug. [0] https://github.com/openssh/openssh-portable/blob/master/chan... [1] https://github.com/openssh/openssh-portable/blob/master/clie... Edit: I'm…
    comment by pengaru · 2022-04-08 · in OpenSSH 9.0
  41. …(also shown in the previous link) which is actually what ProxyJump is doing under-the-hood anyhow. https://github.com/openssh/openssh-portable/blob/d9dbb5d/ssh...
    comment by runlevel1 · 2022-01-09 · in SSH Agent Restriction (new in OpenSSH 8.9)
  42. …to have a modern, Wayland-native, no-nonsense terminal emulator when I do break my config :P. ¹ https://github.com/openssh/openssh-portable/commit/f64f8c00d... ² https://www.mankier.com/5/ssh_config#SetEnv
  43. …desktop environment, which I think is the most common use case. FWIW my proposal for fixing it is https://github.com/openssh/openssh-portable/pull/233 but it isn't the most elegant solution either I guess. It doesn't seem to have picked up…
  44. …a very good fix. So in my opinion both of the proposed fixes are not sufficient. The proposed fix: https://github.com/openssh/openssh-portable/commit/b3855ff05... This proposed fix means OpenSSH is not secure 'by default' and would require…
  45. Most init scripts are in that ballpark. See openssh for example (88 lines) https://github.com/openssh/openssh-portable/blob/master/open... And yet, it still tries to use pidfiles (which systemd has a better alternative for), and notes "We…
    comment by viraptor · 2021-05-16 · in Systemd: The Good Parts
  46. That code is 12 years old: https://github.com/openssh/openssh-portable/commit/c8802aac2... So maybe the parent post was remembering a time before then.
    comment by ec109685 · 2021-03-31 · in EC2 Serial Console
  47. …wanting to kill sshd "first" (or _ever_ based on these renewed findings!) Can you elaborate? [0] https://github.com/openssh/openssh-portable/blob/e51dc7fab61...
    comment by herpderperator · 2021-03-31 · in EC2 Serial Console
  48. The PR is at https://github.com/openssh/openssh-portable/pull/194 Looks surprisingly easy enough.
    comment by rurban · 2020-11-07 · in Deprecating scp
  49. It looks like the openssh main dev is positive about this change: https://github.com/openssh/openssh-portable/pull/194#pullreq... That sounds like it will probably be accepted after a few more minor fixes.
    comment by hannob · 2020-11-06 · in Deprecating scp
  50. …It's an ad network. It has to deal with compliance in many regions. There are mobile apps. [0]: https://github.com/openssh/openssh-portable/graphs/contribut...
    comment by cies · 2020-09-28 · in It used to be simpler to teach Unix