Why does SSH send 100 packets per keystroke?
Posted by eieio 2 days ago
Comments
Comment by swiftcoder 2 days ago
This should really be upstreamed as an option on the ssh library. Its good to default to sending chaff in untrusted environments, but there are plenty of places where we might as well save the bandwidth
Comment by gerdesj 1 day ago
I come from a world (yesteryear) where a computer had 1KB of RAM (ZX80). I've used links with modems rocking 1200 bps (1200 bits per second). I recall US Robotics modems getting to speeds of 56K - well that was mostly a fib worse than MS doing QA these days. Ooh I could chat with some bloke from Novell on Compuserve.
In 1994ish I was asked to look into this fancy new world wide web thing on the internet. I was working at a UK military college as an IT bod, I was 24. I had a Windows 3.1 PC. I telnetted into a local VAX, then onto the X25 PAD. I used JANET to get to somewhere in the US (NIST) and from there to Switzerland to where this www thing started off. I was using telnet and WAIS and Gopher and then I was apparently using something called "www".
I described this www thing as "a bit wank", which shows what a visionary I am!
Comment by drzaiusx11 1 day ago
Comment by beagle3 1 day ago
If you never got more than 24-28k, you likely still had an analog line.
Comment by mgiampapa 1 day ago
Comment by dspillett 1 day ago
To get 33k6 up (or even just 28k8 - some ISPs had banks of modems that supported one the 56k6 standards but would not support more than 28k8 symmetric) you needed to force your modem to connect using the older symmetric standards.
Comment by cestith 1 day ago
The economical way to do that was integrated RAS systems like the Livingston Portmaster, Cisco 5x00 seriers, or Ascend Max. Those would take the aggregated digital line, break out the channels, hold multiple DSPs on multiple boards, and have an Ethernet (or sometimes another DS1 or DS3 for more direct uplink) with all those parts communicating inside the same chassis. In theory, though, you could break out the line in one piece of hardware and then have a bunch of firmware modems.
Comment by drzaiusx11 1 day ago
Comment by mnw21cam 1 day ago
Comment by tracker1 1 day ago
Comment by encom 1 day ago
Comment by dspillett 1 day ago
56k modem standards were asymmetric, the upload rate being half that of the download. In my experience (UK based, calling UK ISPs) 42kbps was usually what I saw, though 46 or even 48k was stable¹ for a while sometimes.
But 42k down was 21k up, so if I was planning to upload anything much I'd set my modem to pretend it as a 36k6 unit: that was more stable and up to that speed things were symmetric (so I got 36k6 up as well as down, better than 24k/23k/21k). I could reliably get a 36k6 link, and it would generally stay up as long as I needed it to.
--------
[1] sometimes a 48k link would last many minutes then die randomly, forcing my modem to hold back to 42k resulted in much more stable connections
Comment by tracker1 1 day ago
Comment by dspillett 1 day ago
I always avoided WinModems, in part because I used Linux a lot, and recommended friends/family do the same. “but it was cheaper!” was a regular refrain when one didn't work well, and I pulled out the good ol' “I told you so”.
--------
[1] Big by the standards of the day, not today!
Comment by Jedd 1 day ago
These were almost definitely 8k baud.
Comment by tfvlrue 1 day ago
"Baud rate" refers to the symbol rate, that is the number of pulses of the analog signal per second. A signal that has two voltage states can convey two bits of information per symbol.
"Bit rate" refers to the amount of digital data conveyed. If there are two states per symbol, then the baud rate and bit rate are equivalent. 56K modems used 7 bits per symbol, so the bit rate was 7x the baud rate.
Comment by AlpineG 1 day ago
Comment by fkarg 1 day ago
Comment by davrosthedalek 1 day ago
ISDN essentially moved that line card into the consumer's phone. So ISDN "modems" talked directly digital, and got to 64kbit/s.
Comment by nyrikki 1 day ago
56k only allowed one ad/da from provider to customer.
When I was troubleshooting clients, the problem was almost always on the customer side of the demarc with old two line or insane star junctions being the primary source.
You didn’t even get 33k on analog switches, but at least US West and GTE had isdn capable switches backed by at least DS# by the time the commercial internet took off. Lata tariffs in the US killed BRIs for the most part.
T1 CAS was still around but in channel CID etc… didn’t really work for their needs.
33.6k still depended on DS# backhaul, but you could be pots on both sides, 56k depended on only one analog conversion.
Comment by namibj 1 day ago
Comment by da_chicken 1 day ago
Comment by Jedd 1 day ago
Comment by drzaiusx11 1 day ago
Comment by Jedd 17 hours ago
Anyway, I didn't think my throw-away comment would engender such a large response. I guess we're not the only olds around here!
Comment by da_chicken 21 hours ago
Like it was more common than confusing Kbps and KBps.
I mean, the 3.5" floppy disk could store 1.44 MB... and by that people meant the capacity was 1,474,560 bytes = 1.44 * 1024 * 1000. Accuracy and consistency in terminology has never been particularly important to marketing and advertising, except marketing and advertising is exactly where most laypersons first learn technical terms.
Comment by drzaiusx11 6 hours ago
Comment by drzaiusx11 1 day ago
Comment by quesera 1 day ago
Yo, 300 baud, checking in.
Do I hear 110?
+++ATH0
Comment by robflynn 1 day ago
AT&C1&D2S36=7DT*70,,,5551212
Comment by codazoda 1 day ago
I didn’t know the phone number, so I bought a Caller ID box, hooked it to my home line, and phoned home. It wasn’t long before every BBS in town had a listing for it.
Comment by quesera 1 day ago
I had to wait til I was old enough to get a phone line in my own name before running a BBS. And also til I had a modem that would auto-answer, which was not a given back then!
But I confess my first question for a working but unassigned phone line would be: who gets the bill for long distance calls?
I had access to no-cost long distance calling through other administrative oversights, but they were a bit more effort to maintain! :)
Comment by nwellinghoff 1 day ago
Comment by bigfatkitten 1 day ago
Comment by ochrist 1 day ago
Before that I used 50 baud systems in the military as well as civil telex systems.
Comment by quesera 1 day ago
And I felt privileged because the configuration for my TI-99/4A Terminal Emulator (which I believe was called Terminal Emulator) had options for 110 or 300 baud, and I felt lucky to be able to use the "fast" one. :)
My first modem (you always remember your first) had no carrier detection (and no Hayes commands, and no speaker...), so I would dial the number manually, then flip a switch when I heard the remote end pick up and send carrier to get the synchronization started.
It was incredibly exciting at the time.
Comment by guiambros 1 day ago
It took a couple of years until it would catch on, and by then 1200 and 2400 bps were already the norm - thankfully!
Comment by reincarnate0x14 2 days ago
Comment by CaptainNegative 1 day ago
Comment by reincarnate0x14 1 day ago
The client and server themselves obviously know the contents of the communications anyway, but the client option (and default behavior) expects this protection against someone that can capture network traffic in between. If there was some server side option they'd probably also want to include some sort of warning message that the option was requested but not honored, etc.
Comment by BoppreH 2 days ago
Comment by mystraline 2 days ago
Comment by throawayonthe 2 days ago
Comment by JTbane 2 days ago
Comment by otabdeveloper4 2 days ago
Comment by anonymous908213 2 days ago
Comment by otabdeveloper4 1 day ago
No it isn't. Here in 2026 timesharing accounts aren't a thing anymore and literally everyone who ever logs into your server has root access.
"Just make sure all those outsourced sysadmins working for a contractor you've never met are never bad guys" is not a valid security threat model.
Comment by KAMSPioneer 1 day ago
Perhaps figuratively? I manage several servers where the majority of (LDAP) accounts have no special privileges at all. They get their data in the directories and can launch processes as their user, that's...pretty much it.
Though the upstream comment is gone and I am perhaps missing some important context here.
Comment by fwip 1 day ago
Comment by otabdeveloper4 1 day ago
Random sysadmins who have access to your server have the permissions to steal whatever is communicated between third parties unrelated to this sysadmin.
Just because some random outsourced nightshift dude has the permissions to do "sudo systemctl restart" shouldn't mean he gets to read all the secret credentials the service uses.
As it is now, the dude has full unfettered access to all credentials of all services on that machine.
Comment by fwip 1 day ago
Comment by Calvin02 2 days ago
This feels like a really niche use case for SSH. Exposing this more broadly could lead to set-it-and-forget-it scenarios and ultimately make someone less secure.
Comment by smallmancontrov 2 days ago
Comment by eikenberry 2 days ago
Comment by mkj 2 days ago
https://github.com/openssh/openssh-portable/blob/d7950aca8ea...
Comment by jacquesm 2 days ago
Comment by geocar 2 days ago
Nobody is running TCP on that link, let alone SSH.
Comment by Rebelgecko 1 day ago
Comment by jacquesm 1 day ago
Comment by drzaiusx11 1 day ago
Comment by jacquesm 1 day ago
Crashing your drone is a learning experience ;)
Remote NSH over Mavlink is interesting, your drone is flying and you are talking to the controller in real time. Just don't type 'reboot'!
Comment by mardifoufs 1 day ago
Comment by geocar 1 day ago
Comment by Rebelgecko 1 day ago
Comment by jacquesm 1 day ago
Comment by jacquesm 2 days ago
and RNode would be a better match.
Comment by dsrtslnd23 2 days ago
Comment by BenjiWiebe 1 day ago
Comment by nomel 1 day ago
Comment by OhMeadhbh 1 day ago
Life is difficult sometimes.
Comment by direwolf20 1 day ago
Comment by PunchyHamster 1 day ago
The proper fix would be adding option server-side to signal client it's not needed and have client side have option to accept or warn about that
Comment by pseudohadamard 1 day ago
For that matter, why does it need to be encrypted at all? What's the threat model?
If there really is a genuine need to encrypt and low latency is critical, consider using a stream cipher mode like AES-CTR to pregenerate keystream at times when the CPU is lightly loaded. Then when you need to encrypt (say) 128 bytes you peel off that many bytes of keystream and encrypt at close to zero cost. Just remember to also MAC the encrypted data, since AES-CTR provides zero integrity protection.
Comment by tracker1 1 day ago
I'm literally working on a web interface I want to use for classic BBS door play... currently working on a DOS era EGA interface, and intend to do similar for PETSCII/Comodore64/128 play as well. I've got a couple rendering bugs to explore for ansis submitted that messed up in the viewer test mode.
https://github.com/bbs-land/webterm-dos-ansi
It's been an opportunity to play with AI dev as well... spent as much time getting the scrollback working how I want as it took on the general rendering.
Comment by pseudohadamard 14 hours ago
Comment by KennyBlanken 1 day ago
Versus...seeing there's a vulnerability, someone adding a one-line change to disable the vulnerable algorithm, compile, image update, test. And a lot less testing because you're not moving to a new version of the language / compiler.
The man has no practical experience in running a production network service, an ego the size of a small moon, and yet was a major contributor to a security protocol now in use by billions of people.
But hey, you can be a handbag designer and end up head of design at Apple soooooooo
Comment by zamadatix 2 days ago
Another good trick for debugging ssh's exact behavior is patching in "None" cipher support for your test environment. It's about the same work as trying to set up a proxy but lets you see the raw content of the packets like it was telnet.
For terminal games where security does not matter but performance and scale does, just offering telnet in the first place can also be worth consideration.
Comment by charcircuit 2 days ago
Comment by jachee 1 day ago
Comment by sam_lowry_ 1 day ago
Also, port 21 is often blocked.
Comment by moffkalast 14 hours ago
Comment by GuB-42 1 day ago
2020s: ha! with some advanced probabilistic models, we may be able to deduce something about what is being typed behind one of our layers of encryption, let's sent 100 packets per keystroke to mitigate that
Comment by fsniper 1 day ago
Comment by ruszki 15 hours ago
Comment by brendangregg 1 day ago
https://www.brendangregg.com/sshanalysis.html
The 2023 patch should finally fix that 2004 issue.
Comment by jonaslejon 1 day ago
Time flies
Comment by flumpcakes 2 days ago
I've used Claude a bit and it never speaks to me like that either, "Holy Cow!" etc. It sounds more annoying than interacting with real people. Perhaps AIs are good at sensing personalities from input text and doesn't act this way with my terse prompts..
Comment by AceJohnny2 2 days ago
I've used Claude for debugging system behavior, and I kind of agree with the author. While Claude isn't always directly helpful (hallucinations remain, or at least outdated information), it helps me 1) spell out my understanding of the system (see [1]) and 2) help me keep momentum by supplying tasks.
Comment by NewJazz 2 days ago
Comment by supern0va 2 days ago
Comment by stephenr 1 day ago
The entire point of rubber duck debugging is that the other side literally cannot respond - it's an inanimate object, or even a literal duck/animal.
Comment by fc417fc802 1 day ago
The point or rubber duck debugging then is to realize the benefit of verbally describing the problem without needing to interrupt your colleague and waste his time in order to do so. It's born of the recognition that often, midway through wasting your colleague's time, you'll trail off with an "oh ..." and exit the conversation. You've ended up figuring out the problem before ever actually receiving any feedback.
To that end an LLM works perfectly well as long as you still need to walk through a full explanation of the problem (ie minimal relevant context). An added bonus being that the LLM offers at least some of the benefits of a live person who can point out errors or alert you to new information as you go.
Basically my quibble is that to me the entire point of rubber duck debugging is "doesn't waste a real person's time" but it comes with the noticeable drawback of "plastic duck is incapable of contributing any useful insights".
Comment by dspillett 1 day ago
The point of Rubber Ducking (or talking/praying to the Wooden Indian, to use an older phrase that is steeped in somewhat racist undertones so no longer generally used) is that it is an inanimate object that doesn't talk back. You still talk to it as if you were explaining to another person, so are forcing yourself to get your thoughts in order in a way that would make that possible, but actually talking to another person who is actively listening and actually asking questions is the next level.
Comment by fc417fc802 1 day ago
So where others see "rubber ducking" as explaining to an object that is incapable of response, I've always seen it as explaining something without turning to others who are steeped in the problem. For example I would consider explaining something to a nontechnical friend to qualify as rubber ducking. The "WTF" interjections definitely make it more effective (the rubber duck consistently fails to notify me if I leave out key details).
Comment by NewJazz 1 day ago
Comment by fc417fc802 1 day ago
Comment by quesera 1 day ago
Comment by stephenr 1 day ago
Comment by nurettin 18 hours ago
Comment by grimgrin 1 day ago
https://gist.github.com/shmup/100a7529724cedfcda1276a65664dc...
Comment by fc417fc802 1 day ago
Comment by grimgrin 1 day ago
Comment by NewJazz 1 day ago
Comment by MBCook 1 day ago
Comment by AceJohnny2 1 day ago
Comment by MBCook 1 day ago
The AI does not.
Comment by dspillett 1 day ago
I use the Other Voices for that. I can't entirely turn them off, I might as well make use of them!
Comment by specialist 1 day ago
Also, always reminds me of Kermit singing "...you make bath time so much fun!..."
Comment by saghm 1 day ago
Comment by specialist 23 hours ago
Comment by nurettin 18 hours ago
Comment by dcdc123 1 day ago
Comment by eieio 1 day ago
Comment by catlifeonmars 1 day ago
Comment by H8crilA 2 days ago
Comment by IshKebab 2 days ago
The comment about Claude being pumped was a joke.
Comment by simondotau 1 day ago
Comment by stackghost 1 day ago
Comment by nerdsniper 1 day ago
Comment by bitwize 1 day ago
Comment by ycombinatrix 2 days ago
Disabling TCP_NODELAY would also reduce number of packets + be portable & simpler to implement - but would incur a latency penalty.
Comment by danudey 2 days ago
For people who don't feel like googling it:
1. You TCP_CORK a socket
2. You put data into it and the kernel buffers it
3. If you uncork the socket, or if the buffer hits MSS, the kernel sends the packet
Basically, the kernel waits until it has a full packet worth of data, or until you say you don't have any more data to send, and then it sends. Sort of an extreme TCP_YESDELAY.
See https://catonmat.net/tcp-cork for where I learned it all from.
Comment by eieio 2 days ago
I am aware of TCP_NODELAY (funny enough I recently posted about TCP_NODELAY to HN[1] when I was thinking about it for the same game that I wrote about here). But I think the latency hit from disabling it just doesn't work for me.
Comment by joshstrange 2 days ago
I got a kick out of this comment [0]. "BenjiWiebe" made a comment about the SSH packets you stumbled across in that thread. Obviously making the connection between what you were seeing in your game and this random off-hand comment would be insane (if you had seen the comment at all), but I got a smile out of it.
Comment by eieio 2 days ago
Comment by BenjiWiebe 1 day ago
Comment by squirrellous 1 day ago
Comment by ycombinatrix 1 day ago
"hello world" fits in a single TCP packet, but the kernel might end up sending one packet containing "hello" and another packet containing " world". It is completely opaque to userspace.
TCP_CORK lets userspace decide when packets are dispatched. You get to control whether "hello world" is sent across 1 packet or 11 packets.
Comment by squirrellous 1 day ago
Ah, maybe you are saying it doesn’t help the situation in the post. That’s what I misunderstood.
Comment by rmunn 1 day ago
1) I'm pretty much never typing secrets into an SSH tunnel; these days if there's a secret I need to transmit over SSH I'm going to be copying and pasting it, which will not reveal info from keyboard timing. (Or rsync'ing a file, which ditto).
2) I'm not in a high-security environment where nation-states have an interest in sniffing my keystrokes.
3) I often open SSH connections to servers in other continents. Those underwater cables have massive bandwidth, but they're also in constant use by thousands upon thousands of people. So anything I can do to reduce my bandwidth by 100x is probably worth doing.
Any reason you can think of why I should not be setting ObscureKeystrokeTiming=no in my ~/.ssh/config?
Comment by fulafel 1 day ago
(1) This sounds brittle. Are you really going to have a good mental model about what's secret when using ssh and reliably refrain from typing those things? Seems to kinda defeat the idea of securing the channel. Also, as a collection your activities might be more confidential to you than single inputs, or correlated with your other activities outside ssh, etc - it's hard to keep a mental model of this as well. Aka optimism is not a form of security.
(2) There isn't a reason to think this is a difficult attack that only a powerful adversary could mount. Seems like a college lab level thing to me. And very amenable to AI help as well. Also here optimism is not a form of security. It's a 25 year old attack[1] so there's a lot of existing research[2] around.
(3) Saving 100x bandwidth on single keystrokes on an internet dominated by video traffic just because it's 100x doesn't make sense. Also it's good to cultivate a mindset that steers away from trading off security in favour of trivial resource savings.
[1] https://www.usenix.org/conference/10th-usenix-security-sympo... (probably older stuff exists outside open literature)
[2] eg https://crzphil.github.io/posts/ssh-obfuscation-bypass/
Comment by usr1106 1 day ago
Not sure whether the obfuscation is fully synchronous, i.e waiting for the server response before continuing. That would really kill it. Working with LTS distros I don't think I have seen it in practice yet. Need to try something modern on my next trip abroad.
Comment by codeflo 1 day ago
The people who designed SSH aren't idiots, and also, you can answer this question by simple observation: When you connect to a server with ~200ms ping, which is somewhat common in the scenarios you describe and which I've done many times, it does not take 20 seconds to show a keystroke.
Comment by 0xbadcafebee 1 day ago
That said, plenty of people disable the most useful security features of SSH, like verifying host key signatures, with no ill-effects (as far as they know). For the majority of users, using Telnet and unencrypted HTTP would make no difference, as nobody's trying to hack them, and who really cares about privacy anyway?
Did you know SSH has long-standing performance limitations due to its design that need patches to eliminate? It was never intended to be a high-performance tool. If you want really high performance, use Telnet. If you want real security, use SSH with all strong security options enabled plus a server using ContainerSSH with the OAuth2 plugin (SSH's keys are static, which can be captured and reused, which is bad). If you don't care either way, use SSH with the defaults.
Comment by pmontra 1 day ago
One common secret that goes through a tty ssh connection is a sudo password. You are probably typing sudo command so without obfuscation the attacker can find out the sudo keystrokes, the command keystrokes and then the encrypted bytes of the password. They don't have the timing data to decode them as easily as the previous parts but if they record enough traffic they might be able to decrypt the password. But maybe they won't, because the ssh session key is probably different each time. Furthermore I don't know how many times they should capture your encrypted password to be able to decrypt it. Maybe it's unfeasible.
Anyway, in case of the sudo password, if the attacker gets it what would happen? The attacker is hopefully not able to get a shell into the server. If they do they have different ways to get root privileges.
By the way, I also copy and paste secrets from either the password manager or the clipboard, because nobody remembers long random strings. The only exceptions are the passwords of a few accounts.
Comment by rmunn 1 day ago
Comment by Animats 2 days ago
Now that's solving the problem the wrong way. If you really want that, send all typed characters at 50ms intervals, to bound the timing resolution.
Comment by adgjlsfhk1 2 days ago
Comment by omoikane 2 days ago
Wouldn't this just change the packet interval from 20ms to 50ms? Or did you mean a constant stream of packets at 50ms intervals, nonstop?
I think the idea behind the current implementation is that the keystrokes are batched in 20ms intervals, with the optimization that a sufficiently long silence stops the chaff stream, so the keystroke timing is obfucated with an increased error bar of 20ms multiplied by number of chaff packets.
Comment by xenadu02 2 days ago
So a clock doesn't solve the problem. The amount of data sent on each clock pulse also tells you something about what was sent.
The Chaff packets already fire on a timer. They inject random extra fake keystrokes so you can't tell how many keystrokes were actually made. The only other way I can think of to solve that is by using a step function: Send one larger packet (fragmented or the same number of individual packets) on each clock pulse if the actual data is less than some N where N is the maximum keystrokes ever recorded with some margin. Effectively almost every clock pulse will be one packet (or set of packets) of identical size. Of course if you do that then you'll end up consuming more data over time than sending random amounts of packets.
Comment by mystraline 2 days ago
Comment by frotaur 2 days ago
Comment by deepsun 2 days ago
For example, "nc" (netcat) is pre-installed on all platforms where ssh is.
Comment by perching_aix 1 day ago
There are two issues with it:
- a primary is not a totality: if "security is the #1 consideration for SSH", that implies there's a #2, maybe even a #3 and so on consideration. So the question that follows becomes tautological: "but if the author doesn't need security, why use ssh?" -> surely for one or more of the #2, #3, etc. considerations, right?
- overabstraction (*): you ended up strawmanning the author. What they had issue with was keystroke timing obfuscation, which is a privacy feature. Timing attacks are (in part) a privacy concern, and privacy is a security concern, yes, but security is not just privacy concern, and privacy concerns are not just about timing attacks; these groups are not equal. For example, they might very well want the transmitted keypresses themselves to remain confidential, or they might very well want to retain cryptographic assurance of their integrity. These are security features they can continue to utilize by sticking with SSH.
All of this is to say, it's not even necessarily them using SSH for a hypothetical #2 or #3 (...etc...) reason, but likely because they still very much want to make use of large chunks of #1, which disabling keypress obfuscation does not actually rid SSH of, only at most weakens it in ways they clearly seem to be okay with.
(*) although if I zoom out enough, this is once again just "a primary is not a totality", just implicitly
Comment by zinekeller 2 days ago
This is technically incorrect, because Windows now includes SSH too!
Comment by breakingcups 1 day ago
Comment by svnt 2 days ago
Found your problem.
But it is an interesting world where you can casually burrow into a crypto library and disable important security features more easily than selecting the right network layer solution.
Comment by eieio 2 days ago
The problems you run into when doing things you shouldn't do are often really fun.
[1] https://news.ycombinator.com/item?id=42342382
Comment by svnt 5 hours ago
Comment by properbrew 2 days ago
Comment by arwineap 2 days ago
You should feel free to explore / abuse all options :)
Comment by ycombinatrix 2 days ago
However, there are existing libraries for exactly this use case - see https://github.com/ValveSoftware/GameNetworkingSockets
I guess QUIC libraries would also work.
Comment by convolvatron 2 days ago
running without congestion control means that you avoid slowstart. but at a certain rate you run into poorly defined 'fairness' issues where you can easily negatively impact other flows. past that point, you can actually self-interfere and cause excessive losses for yourself.
quic uses congestion control, but uses latency estimates and variance as a signal to back off. it still imposes an ordering on a per-stream basis. so it might not be ideal either.
sctp has a mode which supports reliable and unordered, which might be something to consider
so really - if you care about latency and have a different reliability model, its worth unpacking all these considerations and using them to select your transport layer or even consider writing a minimal one yourself
Comment by ycombinatrix 2 days ago
Is this not a performance consideration?
Either way, using plain old SSH means a metric bajillion computers have a client for your game built in.
Comment by JohnLeitch 2 days ago
Comment by danudey 2 days ago
> I bet this mystery could gave been solved much quicker by simply looking at the packet capture in Wireshark.
For some people who are used to using Wireshark and who know what to look for, probably yes. For the vast majority of even technical people, probably not.
In my case, I did a packet capture of a single keystroke using tcpdump and imported it into Wireshark and I get just over 200 'Client: encrypted packet' and 'Server: encrypted packet' entries. Nothing useful there at all. If I tcpdump the entire SSH connection setup from scratch I get just as much useful information - nothing - but, oddly, fewer packets than my one keystroke triggered.
So yeah, I dislike LLMs entirely and dislike the reliance on LLMs that we see today, but in this case the author learned a lot of interesting stuff and shared it with us, whereas without LLMs he might have just shrugged and moved on.
Comment by mystraline 2 days ago
Try debugging that shit. Thats right, debugging interfaces aren't safe, by some wellakshually security goon.
You want a real fun one to debug, is a SAML login to a webapp, with internal Oauth passthrough between multiple servers. Sure, I can decrypt client-server stuff with tools, but server-server is damn near impossible. The tools that work break SSL, and invalidate validation of the ssl.
Yes, Esri products suck. Bad.
Comment by reincarnate0x14 1 day ago
Having to MITM a connection to snoop it is annoying, but the alternative appears to be still using unencrypted protocols from the 1970s within the limitations of a 6502 to operate life-safety equipment.
Comment by TeMPOraL 1 day ago
Comment by reincarnate0x14 1 day ago
But this goes back to the vendors not providing better tools in the first place. We shouldn't NEED to be picking apart packet streams to prove to some jackass tech support ticket that their code is FUBAR. They're basically outsourcing support to their customer or userbase and we tolerated it because it was more expedient.
Comment by Nauxuron 1 day ago
Unfortunately, nothing exists for SSH (yet?). [2]
I do agree that if you design a protocol that enforces encryption, you should include some debugging interface. It is much more straightforward to do this by logging the session secrets on the endpoints rather than trying to break it through a man-in-the-middle, the main thing the protocol is protecting you against.
Comment by supern0va 2 days ago
Particularly in today's political climate, encryption has only become more necessary.
Comment by jabwd 1 day ago
Anyway, VMs should not have authentication, it makes access sooo much easier. Also drop your IPs while you're at it. Might be useful for debugging later.
Comment by pbar 2 days ago
Seems because dumping the session keys is not at all a common thing. It's just a matter of effort though - if someone put in the time to improve the SSH story for dissectors, most of the groundwork is there.
Comment by JohnLeitch 2 days ago
Comment by catlifeonmars 1 day ago
Comment by lpapez 1 day ago
The author didn't, and used a general tool to their aid - why is that unfortunate?
Comment by eieio 1 day ago
My thinking was:
* Yes, I clearly know what tcpdump is / how to capture network traffic
* It has been several years since I have looked at a pcap
* I don't have wireshark installed on this computer
* I've done the thing where you decrypt TLS with wireshark exactly once, years ago, and I found it frustrating for reasons I can't remember[1]. Wasn't sure if I could do this with ssh
* When I started investigating this, I didn't remotely think that ssh was the root cause. I thought it was a quirk of my game
* I *did* make a client that printed out all the data it was receiving, but it was useless because it was operating at the wrong layer (e.g. it connected over SSH and logged the bytes SSH handed it)
* I'm experimenting with Claude Code a lot because it has a lot of hype and I would like to form an opinion
* Looking up flags is annoying
* Being able to tell an agent "look at this pcap and tell me what you see" is *cool*
So idk. I'm sure that you would have solved this much more quickly than I did! I'm not sure that (for me) opening up the packet in Wireshark would have solved this faster. Maybe reading the SSH spec would have, but debugging also just didn't take that long.And the big leap here was realizing that this was my SSH client and not a quirk of my game. The time at which I would have read the SSH spec was after I captured traffic from a regular SSH session and observed the same pattern; before that I was thinking about the problem wrong.
I don't think that this is unfortunate. In fact, I think I got what I wanted here (a better sense of Claude Code's strengths and weaknesses). You're right that an alternative approach would have taught me different things, and that's a worthy goal too.
[1] I suspect this is because I was doing it for an old job and I had to figure out how to run some application with keys I controlled? It would have been easier here. I don't remember.
Comment by JohnLeitch 1 day ago
Comment by eieio 1 day ago
I totally get being exhausted at LLMs. And I don't mind the nudge to be a little less lazy and install wireshark for next time.
hope I get you to play the game when it's out!
Comment by JohnLeitch 1 day ago
Comment by tonymet 2 days ago
Comment by fragmede 2 days ago
Comment by JohnLeitch 2 days ago
Comment by fragmede 1 day ago
> there's no built-in decryption
Is that because wireshark can't do that just from packet captures?
Comment by JohnLeitch 1 day ago
Well, not quite. I think it's more that nobody has taken the time to implement it. That's not to say such an implementation would automatically decrypt the traffic from a capture with no extra leg work, of course. Wireshark dissectors have user configurable preferences, and presumably this would be where captured secrets could be set for use. This is how it handles TLS decryption [1], which works beautifully.
Comment by sureglymop 2 days ago
Comment by fragmede 1 day ago
Comment by turtlebits 2 days ago
Comment by kkkqkqkqkqlqlql 2 days ago
This looks like an actual productivity boost with AI.
Comment by JohnLeitch 2 days ago
Comment by rjh29 2 days ago
Comment by MrDarcy 2 days ago
Comment by JohnLeitch 2 days ago
Comment by whatevaa 2 days ago
Comment by JohnLeitch 1 day ago
Comment by stackghost 1 day ago
That'd be like saying "I, an emergency room doctor, do not need AI assistance to interpret an EKG"
Consider that your expertise is atypical.
Comment by JohnLeitch 1 day ago
a) Has the knowledge to run tcpdump or similar from the command line
b) Has the ambition to document and publish their effort on the internet
c) Has the ability identify and patch the target behaviors in code
I argue that, had they not run to an LLM, they likely would have solved this problem more efficiently, and would have learned more along the way. Forgive me for being so critical, but the LLM use here simply comes off as lazy. And not lazy in a good efficiency amplifying way, but lazy in a sloppy way. Ultimately this person achieved their goal, but this is a pattern I am seeing on a daily basis at this point, and I worry that heavy LLM users will see their skill sets stagnate and likely atrophy.
Comment by antonvs 1 day ago
This is just expert blindness, and objectively, measurably wrong.
Comment by JohnLeitch 1 day ago
Comment by stackghost 1 day ago
Hard disagree. Asking an LLM is 1000% more efficient than reading docs, lots of which are poorly written and thus dense and time-consuming to wade through.
Comment by JohnLeitch 1 day ago
The same stuff happens when summarizing documentation. In that regard, I would say that, at best, modern LLMs are only good for finding an entrypoint into the docs.
Comment by MrDarcy 1 day ago
Why I think I’d win the bet is I’m proficient with tcpdump and wireshark and I’m reasonably confident that running to a frontier model and dealing with any hallucinations is more efficient and faster than recalling the incantantions and parsing the output myself.
Comment by MrDarcy 1 day ago
Comment by mystraline 2 days ago
I'm still waiting for a systems engineering tool that can log every layer, and handle SSL the whole pipe wide.
Im covering everything from strafe and ltrace on the machine, file reads, IO profiling, bandwidth profiling. Like, the whole thing, from beginning to end.
Theres no tool that does that.
Hell, I can't even see good network traces within a single Linux app. The closest you'll find is https://github.com/mozillazg/ptcpdump
But especially with Firefox, good luck.
Comment by fragmede 2 days ago
We have only ourselves to blame that there aren't better tools (publicly) available. If I hypothetically (really!) had such a tool, it would be an advantage over every other SRE out there that could use it. Trying to sell it directly comes with more headaches than money, selling it to corporations has different headaches, open-sourcing it don't pay the bills, nevermind the burnout (people don't donate for shit). So the way to do it is make a pitch deck, get VC funding so you're able to pay rent until it gets acquired by Oracle/RedHat/IBM (aka the greatest hits for Linux tool acquisition), or try and charge money for it when you run out of VC funding, leading to accusations of "rug pull" and development of alternatives (see also: docker) just to spite you.
In the base case you sell Hashimoto and your bank account has two (three!) commas, but worst case you don't make rent and go homeless when instead you could've gone to a FAANG and made $250k/yr instead of getting paid $50k/yr as the founder and burning VC cash and eating ramen that you have to make yourself.
I agree, that would be an awesome tool! Best case scenario, a company pays for that tool to be developed internally, the company goes under, it gets sold as an asset and whomever buys it forms a compnay and tries to sell it directly and then that company goes under but that whomever finally open sources it because they don't want it to slip into obscurity but if falls into obscurity anyway because it only works on Linux 5.x kernels and can't be ported to the 6.x series that we're on now easily.
Comment by snowmobile 2 days ago
Speaking of smoking guns, anybody else reckon Claude overuses that term a lot? Seems anytime I give it some debugging question, it'll claim some random thing like a version number or whatever, is a "smoking gun"
Comment by eieio 2 days ago
Comment by rubslopes 2 days ago
Comment by andai 2 days ago
Soon the Andy 3000 will finally be a reality...
Comment by pcthrowaway 1 day ago
Comment by jabwd 1 day ago
Comment by TeMPOraL 1 day ago
Comment by gf000 2 days ago
Comment by hinkley 2 days ago
Comment by grim_io 2 days ago
Comment by ranger_danger 2 days ago
Comment by yread 2 days ago
Comment by dave78 2 days ago
Comment by MonkeyClub 2 days ago
Btw, is the injection of "absolutely" and "in $YEAR" prevalent in other LLMs as well, or is it just in Gemini's dialect?
Comment by cristoperb 2 days ago
Comment by nurettin 1 day ago
I think there was a setting about time and location which finally got rid of that behavior.
Comment by locallost 2 days ago
Comment by redwall_hp 2 days ago
Comment by smallmancontrov 2 days ago
Comment by f1shy 2 days ago
Comment by observationist 2 days ago
Grok, ChatGPT, and Claude all have these tics, and even the pro versions will use their signature phrases multiple times in an answer. I have to wonder if it's deliberate, to make detecting AI easier?
Comment by WesolyKubeczek 2 days ago
Comment by Telemakhos 2 days ago
Comment by bdamm 2 days ago
Comment by jcims 2 days ago
Comment by lloydatkinson 2 days ago
It's nauseating.
Comment by hamdingers 2 days ago
Comment by jcynix 2 days ago
Comment by Terretta 2 days ago
Comment by jcynix 2 days ago
Looking back we already had similar problems, when we had to ask our colleagues, students, whomever "Did you get your proposed solution from the answers part or the questions part of a stackoverflow article?" :-0
Comment by calvinmorrison 2 days ago
Comment by MaxBarraclough 2 days ago
Comment by cubano 2 days ago
Considering what these LLMs bring to the table, I think a little tolerance for their cringe phrases is in order.
Comment by jcynix 2 days ago
Comment by nurettin 2 days ago
Comment by HPsquared 2 days ago
Comment by cipehr 2 days ago
Maybe it has something to do with your profile/memories?
Comment by Hikikomori 2 days ago
Comment by layer8 2 days ago
Comment by simonjgreen 2 days ago
Comment by Fnoord 2 days ago
Oh shoot! A shooting.
So the TL;DR of this post is: don't change this setting unless you know what you're doing.
Comment by kevin_thibedeau 2 days ago
Comment by OhMeadhbh 1 day ago
Granted... it would increase the cost (since you're adding reverse proxies) but it would be a quick way to get acceptable latency, rudimentary DDoS protection, and you could try different connection options independent of the main app's logic.
It would be hard to estimate how much latency you're adding with a SSH2 reverse proxy in this case, but it's probably lower than one might think.
The idea of letting Claude loose on my crypto[graphy] implementation is about the most frightening thing I've heard of in a while [though libnss is so craptastic, I can't see how it would hurt in that case.] But I loved this write-up. It was readable and explained the problem the OP was encountering and proposed solutions well.
Comment by eieio 1 day ago
I've been thinking about some stuff like this! Not being able to put my game behind Cloudflare[1] is a bummer. Substantial architectural overhead though.
> The idea of letting Claude loose on my crypto[graphy] implementation is about the most frightening thing I've heard of in a while [though libnss is so craptastic, I can't see how it would hurt in that case.]
I hear you, but FWIW the patch I was reverting was trivial (and it's also in the go crypto library, which is pretty easy to read). It's a couple-of-line change[2], and Claude did almost exactly what I would have done (I was tired and would have forgotten to shrink the handshake payload).
[1] This isn't strictly true, Cloudflare spectrum exists, but its pricing is an insane $1/GB last I checked.
[2] https://cs.opensource.google/go/x/crypto/+/833695f0a57b30373...
Comment by OhMeadhbh 1 day ago
But... before you think I'm trying to be negative... good on you. I wish you well. Getting crypto/security code into open source projects can be a slog as people frequently come out of the woodwork, so don't get discouraged.
And the more I think about this... there's plenty of examples out there about doing HTTP based reverse proxying, but essentially zero for SSH proxying, so if you do that, it would make a great blog post.
Comment by rurban 1 day ago
> I am working on a high-performance game that runs over ssh. The TUI for the game is created in bubbletea 1 and sent over ssh via wish.
> The game is played in an 80x60 window that I update 10 times a second. I’m targeting at least 2,000 concurrent players, which means updating ~100 million cells a second. I care about performance.
High performance with ssh and wish? For sure not. Rather use UDP over secure sockets. Or just normal sockets. Even Claude would come up with much faster code than the ssh/wish nonsense. Or mosh, but this also too complicated.
Comment by puilp0502 1 day ago
Comment by rurban 1 day ago
Comment by cheschire 2 days ago
Also I was unfamiliar with SSH being vulnerable in the past to keystroke timing!
Comment by pixl97 2 days ago
2023 discussion about it here.
Comment by Veserv 2 days ago
Comment by diath 2 days ago
When making this statement, are you taking into account that SSH encrypts the traffic by default?
Comment by Veserv 2 days ago
And in this situation, the amount of encrypted payload in each packet is 36 bytes which is ~40x less than a full packet of ~1500 bytes. You would almost surely hit packet per second limits before you hit payload throughput limits at these small sizes.
Encryption is slow when compared to data throughput you can get with a properly designed transport stack, but that is because it is in comparison to 100 Gbps per core even with no hardware offload. Anything less than ~10 Gbps/1 million packets per second (ignoring other bottlenecks, so only the software transport is the limit) is not merely unoptimized, it is pessimized.
Comment by PunchyHamster 1 day ago
Your assumptions are way off
Comment by coldtea 1 day ago
Why not just add random "jitter" to the keystroke packets, but keeping just the 1 actual packet?
Comment by varispeed 1 day ago
Comment by fc417fc802 1 day ago
Comment by varispeed 1 day ago
Comment by fc417fc802 1 day ago
Such an interval would still face correlation issues due to the varying nature of the overlap between the jitter intervals, however it seems like that should be trivial to address. That said, just throwing in some cover traffic is bound to be simpler.
But a jitter interval long enough that keystroke packets can change order is going to be noticeable to a human typing quickly on what should be a solid connection - my WiFi is only at 3 to 6 ms RTT and I already notice that versus a wired connection. That doesn't sound so trivial to fix, and once again just throwing in some cover traffic completely solves the issue.
So just do what's simple.
My next question was going to be, why on the order of 100 extra packets instead of just 1 or 2? But of course an attacker could attempt to search some set of permutations for recognizable words. So either you drown everything out (simple) or you hook a multilingual dictionary up to a key stroke delay model for your cover traffic generator (complex).
But really shouldn't this feature be implemented as some constant (low) background level of cover traffic that scales up as your typing frequency increases but caps out at some (still fairly low) rate? That seems both less likely to suffer from inadvertent leaks as well as not running afoul of the issue in the article.
Comment by varun_ch 1 day ago
I did add a trackpad monitor though. It shows my raw MacBook trackpad data.
Comment by fragmede 2 days ago
Step one, run https://www.psc.edu/hpn-ssh-home/introduction/ instead Step two, tune TCP/IP stack Step... much later: write your own "crypto". (I'm using quotes because, before someone points out the obvious, packets-per-keystroke isn't, itself, a cryptographic algorithm, but because it's being done to protect connections from being decrypted/etc, mess with it at your own peril.)
Comment by xer0x 1 day ago
Comment by davidhyde 2 days ago
Comment by WesolyKubeczek 2 days ago
Comment by davidhyde 2 days ago
Comment by hackrmn 1 day ago
Comment by canibal 1 day ago
Comment by teaearlgraycold 1 day ago
I assume this is done for novelty. There is also Terminal coffee which is a coffee company that takes orders for delivery over SSH.
Comment by hgo 1 day ago
Comment by kenmacd 2 days ago
> And they’re sent to servers that advertise the availability of the [email protected] extension. What if we just…don’t advertise [email protected]?
Comment by eieio 2 days ago
The extension is "ping@openssh.com." It shows up in the blog reliably for me across several browsers and devices.
Comment by wizzwizz4 2 days ago
Comment by qingcharles 1 day ago
Comment by eieio 2 days ago
Comment by esafak 1 day ago
Comment by eru 1 day ago
Comment by theblazehen 1 day ago
Comment by eru 1 day ago
Though I would suggest to make mosh available, too. Many nethack servers are available via mosh and ssh. (And in an earlier age, telnet.)
Comment by m000 1 day ago
Comment by markhahn 2 days ago
Comment by PunchyHamster 1 day ago
Comment by idontwantthis 2 days ago
Comment by layer8 2 days ago
Comment by AceJohnny2 2 days ago
And with good reason. This CVE is from yesterday:
https://nvd.nist.gov/vuln/detail/CVE-2026-24061
> telnetd in GNU Inetutils through 2.7 allows remote authentication bypass via a "-f root" value for the USER environment variable.
Comment by layer8 2 days ago
Comment by AceJohnny2 2 days ago
Comment by dathinab 2 days ago
please never do that (in production)
if anyone half way serious tries they _will_ be able to break you encryption end find what you typed
this isn't a hypothetical niche case obfuscation mechanism, it's a people broke SSH then a fix was found case. I don't even know why you can disable it tbh.
Comment by advisedwang 2 days ago
[1] https://people.eecs.berkeley.edu/~daw/papers/ssh-use01.pdf
Comment by Mystery-Machine 2 days ago
I'm baffled about this "security feature". Besides from this only being relevant to timing keystrokes during the SSH session, not while typing the SSH password, I really don't understand how can someone eavesdrop on this? They'd have to have access to the client or server shell (root?) in order to be able to get the keystrokes typing speed. I've also never heard of keystroke typing speed hacking/guessing keystrokes. The odds are very low IMO to get that right.
I'd be much more scared of someone literally watching me type on my computer, where you can see/record the keys being pressed.
Comment by advisedwang 2 days ago
And the timing is still sensitive. [1] does suggest that it can be used to significantly narrow the possible passwords you have, which could lead to a compromise. Not only that, but timing can be sensitive in other ways --- it can lead to de-anonymization by correlating with other events, it can lead to profiling of what kind of activity you are doing over ssh.
So this does solve a potentially sensitive issue, it's just nuanced and not a complete security break.
[1] https://people.eecs.berkeley.edu/~daw/papers/ssh-use01.pdf
Comment by lazypenguin 2 days ago
Comment by eikenberry 2 days ago
Comment by OneDeuxTriSeiGo 2 days ago
- you are listening to an SSH session between devices
- and you know what protocol is being talked over the connection (i.e. what they are talking about)
- and the protocol is reasonably predictable
then you gain enough information about the plaintext to start extracting information about the cipher and keys.
It's a non-trivial attack by all means but it's totally feasible. Especially if there's some amount of observable state about the participants being leaked by a third party source (i.e. other services hosted by the participants involved in the same protocol).
Comment by Romario77 2 days ago
Comment by Mystery-Machine 2 days ago
You're guessing a cipher key by guessing typed characters with the only information being number of packets sent and the time they were sent at. Good luck. :)
Comment by eikenberry 2 days ago
Comment by PhilipRoman 2 days ago
Comment by simplicio 2 days ago
Comment by bot403 2 days ago
So the "real" keystrokes are 100% the same but the fake ones which are never seen except as network packets are what is randomized.
It's actually really clever.
Comment by kevin_thibedeau 2 days ago
Comment by shadowgovt 2 days ago
Comment by benlivengood 2 days ago
Comment by shadowgovt 2 days ago
(I wouldn't recommend switching the option off for anything that could transit the Internet or be on a LAN with untrusted devices. I am one of those old sods who doesn't believe in the max-paranoia setting for things like "my own house," especially since if I dial that knob all the way up the point is moot; they've already compromised every individual device at the max-knob setting, so a timing attack on my SSH packet speed is a waste of effort).
Comment by qudat 1 day ago
Comment by PaulHoule 2 days ago
One thing you notice if you have ADSL is that some services are built as if slower connections matter and others are not. Like Google's voice and audio chat services work poorly but most of the others work well. Uploading images to Mastodon, Bluesky, Facebook, LinkedIn, Instagram and Nextdoor is reliable, but for Tumblr you have to try it twice. I don't what they are doing wrong but they are doing something wrong and not finding out what they're doing wrong because they're not testing and they're not listening to users.
Nobody consulted me about their decision not to run fiber by my house. If some committee decides to make ssh bloated they are, together with the others, conspiring to steal my livelihood and I think it would be fair for me to sue them for the $50k it would take to run that fiber myself.
It's OK if you work for Google where there is limitless dark fiber but what about people in African countries?
It's the typical corporate attitude where latency never matters: Adobe thinks it is totally normal that it takes 1-5s for a keystroke to appear when you are typing into Dreamweaver.
Comment by gucci-on-fleek 2 days ago
Comment by starttoaster 2 days ago
But you cannot just sue a company because their network connected software doesn't work well on slow networks. Let alone a project like OpenSSH. It would be like me suing a game studio because my PC doesn't meet their listed minimum requirements to play the game.
Comment by PaulHoule 2 days ago
A better analogy is a bank redlining neighborhoods. The cost to run fiber to difficult rural locations pays itself easily if you look at a 25-year time span and is an order of magnitude less than building a new housing unit on the West Coast.
Comment by starttoaster 1 day ago
One half of my comment was actually about how you most likely have a better performing alternative option right where you already live. And even if you didn't, they're not asking you to move. You could argue they're not even asking you to use their software, you're electing to.
Comment by SAI_Peregrinus 1 day ago
Comment by Refreeze5224 2 days ago
Comment by PaulHoule 2 days ago
Comment by lokar 2 days ago
If you want a “1990s” mode, add it yourself or pay some to do it for you.
Comment by layer8 2 days ago
This is funny to me, because ADSL used to be the fast thing, as opposed to dialup modems.
Comment by bergen 2 days ago
Comment by PaulHoule 2 days ago
Comment by dgan 1 day ago
Comment by bibimsz 1 day ago
Comment by fuxirheu 1 day ago
Comment by pixl97 2 days ago
I mean, for modern version of Openssh it's not exactly wrong. The failure was to tell you why that is the normal behavior.
Comment by jaimex2 2 days ago
Vibe coders man...
Comment by gafferongames 1 day ago
Comment by whiterook6 2 days ago
Comment by jaimex2 2 days ago
Comment by zoobab 1 day ago
I could vibecode an SSH zmq daemon in an afternoon.
Comment by peter_d_sherman 1 day ago
By 'ssh', you mean 'ssh' (library/program + protocol + encryption + decryption) on top of TCP/IP, on top of the Internet, right?
OK, I'm not against it... but you do understand that there are all kinds of ways for that to slow things down, right?
Your issues may (or may not!) include such things as:
o Nagle's algorithm AKA buffering AKA packets not being sent until N bytes (where N > 1) ready to send, as other posters have suggested;
o Slower encryption/decryption on older hardware (if users with older hardware is a target market, and if the added loss in speed makes an impact in gameplay, depending on the game, this may or may not be the case...)
o The fact that TCP/IP (as opposed to UDP / Datagrams / "Raw" sockets) imposes a connection-oriented abstraction, requiring additional round trips of ACK ("I got the packet") RESEND ("I didn't get the packet") on top of the connectionless architecture that is the Internet (https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a...), which adds additonal latency, so, for example if a rural user in Australia experiences a 350ms delay for a raw packet to get to a U.S. server (or vice versa), then TCP/IP might make this 700ms or more, depending on the quality of the connection!
o The speed of the game limited to both the bandwidth and latency of the slowest user (if a multi-player game, and if the game must not update until that user "moves"... again, game architecture will determine this, and it wouldn't be applicable to all games...)
Now, you could use UDP, as other posters have suggested, but then you must manually manage connections and encryption...
That may be the right choice for some types programmers, some types of games/applications -- but equal-and-oppositely it may be the wrong choice for others...
Anyway, wishing you well with your game development!
I haven't used SSH (at least, not in a debug capacity), so I'm not sure what SSH debugging options exist -- but it would be nice if SSH had a full logging debug mode, which would explain exactly WHY it chose to send any given packet that it did along with related helpful information, such as latency/time/other metrics, etc., if it doesn't have this/these feature(s) already...
Comment by almosthere 1 day ago
Comment by jachee 1 day ago
Switching to telnet instead of SSH might be an option.
Comment by blabla_bla 1 day ago
Comment by taegee 1 day ago
Comment by gafferongames 1 day ago
Comment by lighthouse1212 1 day ago
Comment by fc417fc802 1 day ago
Comment by sam_lowry_ 1 day ago
Comment by Sebb767 1 day ago
In a perfect world, we could send all traffic completely unencrypted and never scan for a malicious payload, saving all that energy and hardware. But we do not live in that world and drawing the line with this minor, mostly unintrusive security feature seems strange.
Comment by Lerc 1 day ago
Because of the harms of environmental change, there should be pressure placed to avoid damaging ways to generate that energy.
When people complain about the amount of energy being used, they are making the judgement on the benefits. This is subjective and people do not agree on the benefits. The argument you shouldn't do this because of the energy consumed is implicitly saying "My judgement on the worth of this supercedes yours"
Pretty soon it devolves into criticizing the energy use of things you just don't like.
A society has to accept that people have different opinions on things. That includes what it is worth using energy for.
Producing clean energy is something everyone should be able to get behind. There is a solid consensus that it would make a better world.
Comment by tgma 1 day ago
See what I did there? As long as you preach any ideology of yours without talking about its trade-offs you can claim everyone should get behind it. Obviously.
Comment by Lerc 1 day ago
If you get the situation where the two are in conflict then you have to bring in a judgement, but it makes it explicit what you are prioritising.
Luckily for the case of energy, solar meets both goals.
Comment by goda90 1 day ago
In a world with such social cohesion, we'd be defeated by an alien species being able to quickly interpret and exploit our technology like in the hit film Independence Day(note, we're the defeating alien species in this example). https://www.youtube.com/watch?v=9DIjBGierkA
Comment by sam_lowry_ 1 day ago
I already don't encrypt my Pinebook storage, because the device is low-powered.
I now disabled ObscureKeystrokeTiming on the ssh clients where it does not matter. And it should not matter in 99.9999% of cases.
P.S. There's a good reason airline frequencies are unencrypted AM and I hope IT "security" mindset does not reach its dirty hands up the air.
Comment by fc417fc802 1 day ago
Meanwhile the power consumption of a few extra packets or even AES on your block storage device is approximately nothing relative to the other things the device is doing. Unless the CPU or GPU is going full tilt the screen on a mobile device consumes more power than the rest of the system combined (not sure about a laptop but it's likely a similar story).
It's a bit like worrying about saving a single glass of drinking water, then turning around and hopping in the shower for an hour. Or not flushing the toilet then immediately drawing a bath.
Comment by alt187 1 day ago
Coincidentally, they're all, somehow, insanely useless.
Comment by KennyBlanken 1 day ago
Crypto functions are so optimized in hardware that their energy consumption is insignificant...
Comment by gogasca 2 days ago
Comment by raggi 2 days ago
WAT. Please no.
Comment by shitter 2 days ago
Comment by qudat 1 day ago
Comment by PunchyHamster 1 day ago
Comment by pseidemann 2 days ago