Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 1996 16:34:26 -0600
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        John Polstra <jdp@polstra.com>
Cc:        hackers@freebsd.org
Subject:   Re: Fwd: CVSup with SSH 
Message-ID:  <199612122234.QAA02971@jake.lodgenet.com>
In-Reply-To: Your message of "Thu, 12 Dec 1996 14:24:38 PST." <199612122224.OAA01658@austin.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra writes:
>
>Following up once more on using the TCP forwarding of ssh to CVSup
>through a firewall:
>
>
>I tried a large update (src + ports from several days ago) using this
>method, and it worked great!  I am still astounded.  Finally there's a
>proxy that does what it is supposed to do, and does it right.

Yeay! I just tried the cvs tree, and it looks ok.

>
>This should be _really_ useful to those poor souls who haven't been
>able to get the SOCKS stuff working.  I'm going to document it in the
;-) That's me!

I whipped up a new fbsd-update script.  I had to use expect, unless
someone can help me out a bit with ssh from a script:
------------------cut--here-----------------------
#!/usr/local/bin/expect

set lport 6666
set cvsupfile $env(HOME)/lib/cvs-supfile.cvsup
set d [exec date +%v]
set cvsup $env(HOME)/var/log/cvsup-$d
set cvs_co  $env(HOME)/var/log/cvs_co-$d

set ssh [spawn ssh -C -v -L 5999:localhost:5999 -R $lport:localhost:$lport 
freefall]
expect "(tty..@freefall)\$ "

exec cvsup -Z -g -L 2 -P $lport $cvsupfile >& $cvsup

send -- "exit\r"
------------------end--of--script-----------------

of course you'll have to edit the freefall prompt.
Is there anyway to get this to work without actually logging in?

>
>John
>

>- --
>   John Polstra                                       jdp@polstra.com
>   John D. Polstra & Co., Inc.                Seattle, Washington USA
>   "Self-knowledge is always bad news."                 -- John Barth
>

Thanks Tons!
eric

-- 
erich@lodgenet.com
http://rrnet.com/~erich erich@rrnet.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612122234.QAA02971>