Results 1 to 4 of 4

Thread: SSH2 tunnel (Total Net Shield) on boot??

  1. #1

    Default SSH2 tunnel (Total Net Shield) on boot??

    First of all congratulations to all the people that make opensuse possible and those helping on the forums.

    I use total net shield from anonymizer.com (Anonymizer Total Net Shield - Secure Tunneling Protection from Attackers) on a windows machine and contacted them to use it on linux. It works but you have to log as superuser, copy&paste this command below (*) and then copy&paste the anonymizer account password. It's not very convenient to say the least so I wonder how to automate it so I log onto the anonymizer server on boot?

    (*) sudo ssh -l username cyberpass.net -L 8080:cyberpass.net:80

  2. #2
    ab@novell.com NNTP User

    Default Re: SSH2 tunnel (Total Net Shield) on boot??

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    First, why do you need to run as 'root'? It looks like you are
    forwarding your local 8080 port to cyberpass.net:80 on the remote side
    which should not require anything root-like because you are not binding
    any low (<1024) ports for listening.

    To answer how to do this without passwords check out the following URLs:

    Novell TID# 7000350
    http://www.novell.com/support/php/se...200%2028307723

    http://www.debuntu.org/ssh-key-based-authentication
    http://www.linuxjournal.com/article/6602

    Hopefully those will get you on your way.

    Good luck.





    opensusejunkie wrote:
    | First of all congratulations to all the people that make opensuse
    | possible and those helping on the forums.
    |
    | I use total net shield from anonymizer.com ('Anonymizer Total Net
    | Shield - Secure Tunneling Protection from Attackers'
    | (http://www.anonymizer.com/consumer/p...al_net_shield/)) on a
    | windows machine and contacted them to use it on linux. It works but you
    | have to log as superuser, copy&paste this command below (*) and then
    | copy&paste the anonymizer account password. It's not very convenient to
    | say the least so I wonder how to automate it so I log onto the
    | anonymizer server on boot?
    |
    | (*) sudo ssh -l username cyberpass.net -L 8080:cyberpass.net:80
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIUxpN3s42bA80+9kRAjGNAJ9OF1oBvlP9OIhwuUjjmKwXza8BgwCfXPi/
    9AfHKPSRm+YTxgTa92WKhp4=
    =mAE6
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    Dublin, Ireland
    Posts
    298

    Default Re: SSH2 tunnel (Total Net Shield) on boot??

    hi,

    thanks for your reply... you helped me to setup ssh before and I got it working again for this. That bit is perfect. My question is how do I do the post login commands, such as sourcing the profile. I was thinking of putting the ssh command into a bash script, but it trys to run the cd command locally instead of on the remote host: eg:

    Code:
    ssh -X me@remoteserver
    cd profiles
    source linux.profile
    clear

  4. #4
    Join Date
    Jun 2008
    Location
    Dublin, Ireland
    Posts
    298

    Default Re: SSH2 tunnel (Total Net Shield) on boot??

    Oops... wrong place, wrong post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •