๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ”’์ •๋ณด๋ณด์•ˆ/๋„คํŠธ์›Œํฌ ๋ณด์•ˆ

๋ฆฌ๋ˆ…์Šค - ssh ์—ฐ๊ฒฐ์‹œ tor socks5 ๊ฒฝ์œ ํ•˜๊ธฐ

by Janger 2022. 8. 1.
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
๋ฐ˜์‘ํ˜•