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

-----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/search.do?cmd=displayKC&docType=kc&externalId=7000350&sliceId=1&docTypeID=DT_TID_1_1&dialogID=28309494&stateId=0%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/products/total_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-----

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:


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

Oops… wrong place, wrong post.