ssh connection using ssh proxy

CREATE PROXY

ssh -D 9000 -q -C -N -f bridge_host.domain.tld

SETUP SSH (add this in ~/.ssh/config)

Host target.host.domain.tld
ProxyCommand=nc -X 5 -x localhost:9000 %h %p

CONNTECT TO SSH HOST target.host.domain.tld

ssh -l user target.host.domain.tld

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.