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.
SSH Secret Menu
131–140 of 184 posts
Re: SSH Secret Menu
#132Re: SSH Secret Menu
#133Earlier 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
Re: SSH Secret Menu
#134Earlier 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).
Re: SSH Secret Menu
#135Earlier 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.
Re: SSH Secret Menu
#136Earlier 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".
Re: SSH Secret Menu
#137Find the HIDDEN SECRETS that THEY DON'T WANT YOU TO KNOW! $ man ssh
Re: SSH Secret Menu
#138Earlier 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.
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
#139Find the HIDDEN SECRETS that THEY DON'T WANT YOU TO KNOW! $ man ssh
Re: SSH Secret Menu
#140What I now have: ~B
What I really need: a way to stop long-running SSH connections from freezing