scp -S, sftp -S

Darren Tucker dtucker at zip.com.au
Fri Aug 5 13:07:01 EST 2005


Peter Stuge wrote:
> On Fri, Aug 05, 2005 at 02:56:57AM +1000, Darren Tucker wrote:
> 
>>>I see. That would be nice. But why was 'connect' needed at all?
>>
>>Because a proxycommand operates on stdio, you need to make a TCP
>>connection somehow.  If ssh learns the above then it won't be
>>necessary.
> 
> Doesn't it already, for remote port forwarding?

ssh knows how to do match up TCP connections with TCP connections, and 
stdio on the client with stdio on the server.

What I'm talking about is either adding a new option or extending -L to 
understand something like "ssh -N -L stdio:remotehost:22 
intermediatehost" and have that do the equivalent of "ssh 
intermediatehost connect remotehost 22" but without the extra "connect" 
process.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list