help with scrip
Hi, im using Mandrake 10 with tcsh shell. I want to use SSH to do some port forwarding to my school server, but for some port, i need to switch to root mode.
I just like to make a script file which automatically switch to root and do the SSH thing in there.
I tried:
su root ssh .....
su root && ssh ....
but not any good.
Anyone know how to do that ?
Cheers.
|