Pivoting

You have access to a machine. That has a second interface.

ProxyChains

ssh -f -N -D 9050 -i pivot [email protected]
Component
Description

ssh

Secure Shell client, used to connect securely to another machine.

-f

Requests ssh to go into the background just before command execution. Useful for background tasks.

-N

Tells ssh not to execute any command on the remote host (used just for port forwarding).

-D 9050

Sets up a SOCKS proxy on local port 9050. This means your local apps can use this as a proxy to tunnel traffic through the SSH connection.

-i pivot

Specifies the private key file named pivot to use for authentication.

Connects as the root user to the host 10.10.155.5.

Sshuttle

Chisel

Last updated