not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by Yary Hlucha » Tue, 27 Jul 1999 04:00:00



This is an obscure problem, and one I have a workaround for, but will
thow it out anyhoo.

I have a laptop running WindozeNT, with the latest and greatest cvs
client (1.3 i think) built on it. It also has an ssh client "ttssh" that
runs with a terminal program "teraterm pro".  This ssh client does port
forwarding.

Until recently I had a direct connection to the internet via modem to
ISP.  I have to connect to a cvs server- but the only service it allows
coming in from the big bad world is ssh. So, I would fire up ttssh,
forward port 2401 on my laptop->port 2401 on server, set CVSROOT to

Now, I access the inet through netbsd using a simple ipnat translator,
and no filters in ipf.conf or hosts.allow.
Everything is working just as before, except:
typing "cvs up" in a directory causes a long pause, and then ttssh
panics and dies.
(typing "cvs up (filename)" still works just fine)

So, yeah there must be a bug in ttssh, it shouldn't just die on me.  But
how can it tell the difference?

-y

 
 
 

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by David O'Brie » Wed, 28 Jul 1999 04:00:00



> It also has an ssh client "ttssh" that runs with a terminal program
> "teraterm pro".  This ssh client does port forwarding.

I was wondering where you got the ``ttssh'' program.  I've never heard of
it before.  Is is commerical or Open Source softare?

Thanks.

 
 
 

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by Manuel Bouy » Fri, 30 Jul 1999 04:00:00



> This is an obscure problem, and one I have a workaround for, but will
> thow it out anyhoo.

> I have a laptop running WindozeNT, with the latest and greatest cvs
> client (1.3 i think) built on it. It also has an ssh client "ttssh" that
> runs with a terminal program "teraterm pro".  This ssh client does port
> forwarding.

> Until recently I had a direct connection to the internet via modem to
> ISP.  I have to connect to a cvs server- but the only service it allows
> coming in from the big bad world is ssh. So, I would fire up ttssh,
> forward port 2401 on my laptop->port 2401 on server, set CVSROOT to

> Now, I access the inet through netbsd using a simple ipnat translator,
> and no filters in ipf.conf or hosts.allow.
> Everything is working just as before, except:
> typing "cvs up" in a directory causes a long pause, and then ttssh
> panics and dies.
> (typing "cvs up (filename)" still works just fine)

What kind of error message does it print exactly ?
Is there some kind of timeout ?

Can you try to use 'cvs -t update' ?  Maybe this will help locate the problem.

Quote:

> So, yeah there must be a bug in ttssh, it shouldn't just die on me.  But
> how can it tell the difference?

Well, I don't know. But knowing what cvs is doing when it dies may help ...

--

--

 
 
 

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by Yary » Tue, 03 Aug 1999 04:00:00


Here's a session:

D:\world\QFS\qfs_svr>cvs up
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t update
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t -n up
cvs [update aborted]: end of file from server (consult above messages if any)

tertarm/ttssh dies each time. not very helpful.

I have since run into more interesting (to me) things to do...
once this problem becomes to annoying to bear, I'll re-investigate

as for ttssh, it is a plugin for teraterm pro.  Both are win32 programs, and
source are available from their
respective authors.  Their pages are:

http://hp.vector.co.jp/authors/VA002416/teraterm.html
http://www.zip.com.au/~roca/ttssh.html

Thanks for the suggestions

-y

 
 
 

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by Yary » Tue, 03 Aug 1999 04:00:00


Here's a session:

D:\world\QFS\qfs_svr>cvs up
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t update
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t -n up
cvs [update aborted]: end of file from server (consult above messages if any)

tertarm/ttssh dies each time. not very helpful.

I have since run into more interesting (to me) things to do...
once this problem becomes to annoying to bear, I'll re-investigate

as for ttssh, it is a plugin for teraterm pro.  Both are win32 programs, and
source are available from their
respective authors.  Their pages are:

http://hp.vector.co.jp/authors/VA002416/teraterm.html
http://www.zip.com.au/~roca/ttssh.html

Thanks for the suggestions

-y

 
 
 

not working:cvs pserver->localhost->ssh port forward->ip-nat->sshd->cvs server

Post by Yary » Tue, 03 Aug 1999 04:00:00


Here's a session:

D:\world\QFS\qfs_svr>cvs up
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t update
cvs [update aborted]: end of file from server (consult above messages if any)

D:\world\QFS\qfs_svr>cvs -t -n up
cvs [update aborted]: end of file from server (consult above messages if any)

tertarm/ttssh dies each time. not very helpful.

I have since run into more interesting (to me) things to do...
once this problem becomes to annoying to bear, I'll re-investigate

as for ttssh, it is a plugin for teraterm pro.  Both are win32 programs, and
source are available from their
respective authors.  Their pages are:

http://hp.vector.co.jp/authors/VA002416/teraterm.html
http://www.zip.com.au/~roca/ttssh.html

Thanks for the suggestions

-y

 
 
 

1. <><><> MOUNTING EXTENDED PARTITION <><><>

I have a 10 GB UDMA IDE drive formatted with Windows.  The first partition
is FAT32, and the second is NTFS.  I can successfully mount the first, but
not the second.  Any ideas?

Suse 7.2 on i86
the drive is mounted on /dev/hdc, and I CAN see hda1, but not hda2

2. trouble compiling dosemu

3. Wanted: <><><> Unix Specialist <><><>

4. Where's the password file ?

5. LILO help <><><><><><>

6. in 2.5.40 plain

7. >>---> Software Jobs! >>--->

8. 2.2/Red Hat 5.2 upgrades disaster!

9. fixing localhost -> DNS Server -> NAMED -> NDC -> NOTFOUND

10. Win95/IPX -> IP ->PPP ->Linux ->Novell 3.12

11. sh->xqf->quake works, fvwm->xqf->quake hangs X?

12. <<->> x-server and backspace: help needed please <<->>

13. Client ->(HTTPS) -> Proxy -> (HTTP) -> Server