Tag: ssh

  • Tunneling using ssh

    To create tunnel using ssh execute following command:ssh server -L local_port:remote_ip:remote_port -Neffect of this command is to create tunnel between localhost:local_port and remote_ip:remote_port going through server.

  • How to create proxy using ssh

    You can create SOCKS proxy using ssh by runningssh -D port login@serverreplace port with port number you want proxy to appear on your local machine, in web browser choose SOCKS for proxy type, localhost for proxy server and same port as port in command above.

  • How to prevent annoying crackers from brute force login attacks

    Add following to your /etc/pf.conf# if re0 is your card$ext_if=”re0″# this goes in the toptable <bad_guys> persist…block in quick on $ext_if from <bad_guys> to any Add following to your /etc/syslog.confauth.info;authpriv.info |/root/auth_checker.pl(assuming that auth_checker.pl is in /root directory) If you want to remove ip from table bad_guys (in case you somehow lock yourself), add this to…