An Excruciatingly Detailed Guide To SSH (But Only The Things I Actually Find Useful) · Graham Helton
grahamhelton.com
external-link
Welcome We’ve all seen these great diagrams of how SSH port forwarding works but if your brain is anything like mine, these diagrams leave you with a lot of unanswered questions. If you’re on a red team, understanding how to traverse a network better than the people who designed it gives you immense power to do evil things. SSH is such a powerful tool but sometimes the syntax and other concepts can get in the way of us accomplishing our goals.

I can understand why so many programmers suffer from imposter syndrome.

I know more about SSH than anyone I know, but I still read articles like this and think, “SOCKS proxy. Huh. I don’t actually know what either of those words mean.”

Before anyone jumps in to educate me on what SOCKS is (please do though!), my point is that through my entire career in tech, I’ve always read articles and had to skim over terms and acronyms that I didn’t know, unless I wanted to fall into a ten-hour rabbit hole of learning, where I ultimately feel totally overwhelmed and not sure I’m actually smarter than when I woke up this morning.

Seems like an interesting article, but for me to fully grasp it, I’d need to read like six other articles, which I can’t do during my morning coffee/mindless scroll time.

I’ve taken the approach of learning through osmosis. I’ll regularly read articles that I don’t fully understand, assuming that I’ll eventually gain a better understanding of whatever topic I’m reading about over time.

Don’t feel bad. Nearly all the critical systems for computers I generally represent at least 1 person’s (sometimes many peoples) life work. You can’t possibly understand every aspect of everything program your computer uses.

I suspect there is not a single person in the world that fully understands every aspect of GRUB, SSH and systemd. There is simply too many fine details in these things to understand everything.

No need to feel bad. Your biggest power is the one you take for granted: your ability to Google and educate yourself when needed. Many people can’t do that effectively.

HTTP_404_NotFound
link
fedilink
English
21Y

Lets say, you work somewhere, that does, say… https decryption and/or logs stuff… or the firewall just blocks stuff in general.

And, you want to say, access that stuff.

Well, you can route your web traffic through a ssh connection, instead of it going out the traditional path. This allows you to bypass content filtering, etc.

Its, essentially like having a VPN tunnel, routing your traffic. Amazing feature.

Most people apply socks directly to their feet for warmth. If you mean the Internet protocol I can’t help you, but I’d be interested in learning about it too!

z3bra
link
fedilink
61Y

SOCKS is just a generic proxy protocol. It lets you tunnel TCP traffic between two hosts transparently. SSH can be use to setup this kind of tunnel using -D.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1.11K users / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog