Live data from Hacker News

SSH Secret Menu

twitter.com

131–140 of 184 posts

Re: SSH Secret Menu

#131
post #4

Yep the menu is handy for ssh tunneling. Maybe not a lot of people doing that these days though with stuff like dev tunnels and Tailscale.

I use it all the time with https://tuns.sh that let's you expose localhost to the public.

Re: SSH Secret Menu

#133
post #23

Earlier quoted context omitted.

I blew a few minds a week ago when I told my younger coworkers about man pages. I hit ‘em with the `man man` and one dude was like “whoa!”

Further blow their minds by showing them `apropos` https://manpages.debian.org/testing/man-db/apropos.1.en.html

I'm 100% certain this is user error, but I have not once gotten apropos to give me any output other than "nothing appropriate."

Re: SSH Secret Menu

#134
post #113
post #88

Earlier quoted context omitted.

See this, for example: https://groups.google.com/g/opensshunixdev/c/FVv_bK16ADM/m/R... It boilds down to using a Linux-specific API, though it's really BSD that is lacking support for a standard (RFC 5014).

It would also seem to break address privacy (usually not much of a concern if you authenticate yourself via SSH anyway, but still, it leaks your Ethernet or Wi-Fi interface's MAC address in many older setups).

Well, yss, but SSH is hardly ever anonymous and this could simply be a cli option.

Re: SSH Secret Menu

#135
post #82

Earlier quoted context omitted.

I was never able to properly parse large man pages, I'm so happy that llms can now prepare half a usable command without spending an hour reading a time without a single usage example.

`tldr` is also great. It's essentially a collection of example invocations of *nix commands.

tldr is so good, i wish it was a part of the os the same way manpages are just to help out newcomers

Re: SSH Secret Menu

#136
post #52

Earlier quoted context omitted.

Well, for different reasons, but you have similar issues with IPv6 as well. If your client uses temporary addresses (most likely since they're enabled by default on most OS), OpenSSH will pick one of them over the stable address and when they're rotated the connection breaks. For some reason, OpenSSH devs refuse to fix this issue, so I have to patch it myself: --- a/sshconnect.c +++ b/sshconnect.c @@ -26,6 +26,7 @@ #…

The temporary address doesn't stay active while there's a connection on it? I think that would be the actual "fix".

I think it does, but that's not the issue: if the interface goes down all the temporary address are gone for good, not just "expired".

Re: SSH Secret Menu

#138

Earlier quoted context omitted.

"secret" not in the sense that it's hidden, but that most people won't know about it. Because approximately nobody actually reads man pages in their entirety, they just get in to find out how a specific flag works and then get out.

Using "secret" in that sense instantly reminds me of hyped-up headlines for time-waster news stories. Most people don't know what 2^8 is, either.

the difference is that knowing 2^8 is generally not useful to people who don't know it

this here is something that's pretty useful to most ssh users, yet seldom spoken of

a better analogy would be comparing it to calling a very good, but not well-known restaurant a secret place - using the word to mean a hidden gem rather than an intentionally hidden secret

Re: SSH Secret Menu

#140
What I thought I wanted: a way for Konsole to send SIGHUP

What I now have: ~B

What I really need: a way to stop long-running SSH connections from freezing

Post reply on HN