Quickly launch a reverse SSH connection.

# on the target machine
hp --key id_rsa --remote [email protected]:2455

# on the remote
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_rsa -p 3333


When defining the remote endpoint, endpoints look like: user@host:port

Flag Environment Variable Default Description
-k, --key HP_KEY path to SSH private key
-r, --remote HP_REMOTE remote SSH endpoint to connect to
-l, --local HP_LOCAL local SSH endpoint to create
-s, --shell HP_SHELL bash for linux/osx, cmd for Win shell to invoke
-t, --tunnel HP_TUNNEL tunnel to create on remote endpoint


View Github