Sponsored Links

Maxabout.com > Tips

Breaking Firewalls with ssh

Added on:8/27/2008 10:11:12 PM
In Linux Tips
 Rated by 1 users


  1. A sample .ssh/config file (note this must have chmod 600 rights)
    ## Server1 ## Host 130.21.19.227

  2. LocalForward 20000 192.168.0.66:80 LocalForward 22000
    192.168.0.66:22

  3. With the above "~/.ssh/config" file, after sshing into 130.21.19.227

  4. it is then possible to ssh into nearby computers directly.
    $ ssh -l mchirico 130.21.19.227 
    $ scp -P 22000 authorized_keys*
    mchirico@localhost:.  
    $ ssh -l mchirico localhost -p 22000

  5. For the complete article reference the following link:
    http://souptonuts.sourceforge.net/sshtips.htm


Sponsored Links
Tools
Bookmark/Discuss