Advertisement
hiro1357

sshのProxyCommandの使い方

Jun 5th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. # CentOS(nmap-ncat)
  2. ssh -o ProxyCommand='nc --proxy proxy:8080 --proxy-type http %h %p' remote
  3. # Ubuntu(netcat-openbsd)
  4. ssh -o ProxyCommand='nc -X connect -x proxy:8080 %h %p' remote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement