Total Pageviews

Sunday, 16 April 2017

使用onion service的隐秘的SSH server

Secure SSH server using onion service. 

Stealth SSH server using onion service

Tor onion service for your SSH server with password protected onion address.
This onion service cannot be port scanned. Does not allow anyone else to connect or fingerprint your SSH server. Hence no risk of exposing your onion address <=> real IP address because SSH fingerprint matching.
You should read the autoconfigure.sh and execute the lines by hand.
  • Install Tor
  • Create a hidden service
  • Add HiddenServiceAuthorizeClient stealth SOMEPASS
  • HiddenServicePort 22 127.0.0.1:22 # Last is your current SSH port
  • service tor restart
  • On client side create .ssh/config
  • On client side add HidServAuth settings to /etc/tor/torrc
This is autoconfigurate script. I still recommend to read it and make the changes manually.
$ sudo bash autoconfigure.sh
 
from https://github.com/juhanurmi/stealth-ssh 

No comments:

Post a Comment