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?
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:
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
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