In message <[EMAIL PROTECTED]>, Atro Tossavainen 
writes:
>> I have the following setup:
>> Machine A (which I am on) has access to machine B and the rest of the 
>> internal net.
>> 
>> Machine B has sshd running on it and has access to the outside world.
>> 
>> Machine C I'd like to ssh to.
>
>No tunneling required. Just force tty allocation in the first session:
>
>       A% ssh -t B ssh C

Wonderful, that works.  My next question is how to best get CVS to work, 
both with :pserver: and :ext:
With :pserver: I currently run one ssh to set up a tunnel from the local 
2401 pserver port through the sshd on machine B connected to machine C.  
This works.  Is there a way to eliminate the step of setting up the tunnel 
and doing everything in one command?  I've played quite a bit with the 
.ssh/configu file (ProxyCommand mostly), but no luck.

With :ext: somehow the $CVS_RSH variable seems to be ignored:

~ > set CVS_RSH=ignored
~ > echo $CVS_RSH
ignored
~ > cvs -t -d :ext:lohner@localhost:/cvs co -c
cvs checkout: notice: main loop with CVSROOT=:ext:lohner@localhost:/cvs
 -> Starting server: ssh localhost -l lohner cvs server 
Secure connection to localhost refused; reverting to insecure method.
Using rsh.  WARNING: Connection will not be encrypted.
cvs: Command not found
cvs [checkout aborted]: end of file from server (consult above messages if 
any)
~ > 

What I want to put there is a script that essentially does 'ssh -p 2222 
gateway'  That's the best way I've thought of doing it so far.

Suggestions?

Thanks, Nils.

Reply via email to