7. sshuttle

-r used to connect to remote machine with user/pw, and include network or ip we want to route through pivot host (internal network)

sudo sshuttle -r ubuntu@10.129.202.64 172.16.5.0/23 -v 

with a private key:

sshuttle -r user@remote_host --ssh-cmd "ssh -i /path/to/id_rsa" 0.0.0.0/0

practical example:

Try using sshuttle from Pwnbox to connect via RDP to the Windows target (172.16.5.19) with "victor:pass@123" on the internal network. Once completed type: "I tried sshuttle" as the answer.

![](/img/Pasted image 20240825114459.png)