All tools

Tunneling & Pivoting

SSH Tunneling

Local/remote/dynamic port forwarding built into SSH.

beginner
Linux
macOS
Windows
Lateral Movement
Post-Exploitation

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

You have SSH and need access to internal services.

How

-L local, -R remote, -D dynamic SOCKS; combine with ProxyJump.

Why

Often the simplest pivot — no extra binaries.

Commands & usage

ssh -L 8080:127.0.0.1:80 user@host
ssh -D 9050 user@host
ssh -R 8080:127.0.0.1:80 user@attacker
ssh -J jump@bastion user@internal

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

ssh
pivot
fundamentals

Related in Tunneling & Pivoting