๐์ ๋ณด๋ณด์/๋คํธ์ํฌ ๋ณด์
๋ฆฌ๋ ์ค - ssh ์ฐ๊ฒฐ์ tor socks5 ๊ฒฝ์ ํ๊ธฐ
Janger
2022. 8. 1. 14:20
728x90
ํ์ ํจํค์ง ์ค์น
apt install tor
apt install connect # nc(netcat)์ด ์ค์น๋์ด ์๋ค๋ฉด ๋ฌด์
์ค์น ํ์๋ tor๋ฅผ ์คํ์์ผ์ค๋ค.
์ฌ์ฉ ๋ช ๋ น์ด
connect ProxyCommand ์ฌ์ฉ ๋ฐฉ๋ฒ
ssh -o "ProxyCommand connect -5 -S localhost:9050 %h %p" user@123.123.123.123
nc ProxyCommand ์ฌ์ฉ ๋ฐฉ๋ฒ
ssh -o ProxyCommand="nc -x localhost:9050 %h %p" user@123.123.123.123
ํ๋ก์ ์ฑ๊ณต ํ์ธ ๋ช ๋ น์ด
Windows
netstat -n | findstr 22
Linux/macOS
who am i
์์ ๋ช
๋ น์ด ์คํ์์ ๋ด ์ ์ ์์ดํผ๊ฐ tor IP ์ฃผ์๋ก ๋ฌ๋ค๋ฉด ์ฑ๊ณต
์ฐธ๊ณ :
http://aero.sarang.net/blog/2009/07/ssh-socks-proxy.html
http://aero.sarang.net/blog/2009/07/ssh-socks-proxy.html
aero.sarang.net
https://tor.stackexchange.com/questions/123/how-can-i-anonymize-my-ssh-traffic-using-the-tor-network
How can I anonymize my SSH traffic using the Tor network?
I have a working installation of Tor. I am able to both access hidden services and proxy my clear-net traffic through Tor. My main source of traffic so far has been HTTP. I would like to know how ...
tor.stackexchange.com
728x90