You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Francois Beausoleil <fb...@ftml.net> on 2003/04/02 20:54:44 UTC

"Malformed network data" when trying ls over SSH

Hi !

I am using Win2k with Cygwin.  I installed OpenSSH and I can logon
to the machine using plink.exe from Putty, which is an Open Source
SSH client.  I can execute commands, etc. and everything works fine.

My problem is that svn reports an error when it connects to the server.
I guess I did something wrong somewhere, but I do not know where !

Anyway, my first real question is:  Should I leave the svnserve process
running as a daemon if I use lib_ra_svn over SSH ?  I tried the commands
below both with and without the process running, so it seems it is not
necessary.

Here's the command I use to start the server process:
E:\>svnserve -r r -d

"r" is the name of the folder I want to share as root.

Here's what my servers file looks like:
[groups]
home = localhost

[home]
svn-tunnel-agent = C:\putty\plink.exe

When I try to connect to the machine, I get this message:
C:\DOCUME~1\ADMINI~1\APPLIC~1\SUBVER~1>svn ls svn://localhost/repos
svn: Malformed network data
svn: Malformed network data

I am using Subversion 0.20.0
C:\DOCUME~1\ADMINI~1\APPLIC~1\SUBVER~1>svn --version
svn, version 0.20.0 (r5410)
    compiled Mar 24 2003, 22:54:20

Thanks !
Francois Beausoleil (fbos@users.sourceforge.net)
Developper of Java Gui Builder - http://jgb.sourceforge.net/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: "Malformed network data" when trying ls over SSH

Posted by Francois Beausoleil <fb...@ftml.net>.
Hi !

Ok, I ran both commands, and here's what I got:
C:\>plink Administrateur@localhost pwd
Administrateur@localhost's password:
/home/Administrateur

C:\>plink Administrateur@localhost /bin/true
Administrateur@localhost's password:

C:\>

So, it looks like my channel is quite clear.

Anything else I should try ?

Thanks,
François

On Thu, 3 Apr 2003 02:34:11 -0500, "mark benedetto king"
<mb...@boredom.org> said:
> On Wed, Apr 02, 2003 at 06:38:53PM -0500, Greg Hudson wrote:
> > On Wed, 2003-04-02 at 18:26, Francois Beausoleil wrote:
> > > Sorry but, what is a dotfile ?
> > > 
> > > And, what do you mean that I do not have a clear SSH channel ?  I can
> > > connect using plink (ssh-like program) and the putty client.
> > 
> > If you run something like "ssh servername ls", do you see any output
> > other than the output of ls?  If so, that's what is confusing ra_svn.
> > 
> > 
> 
> A really easy test:
> 
> "ssh servername /bin/true" should produce no output.
> 
> --ben
> 

-- 
http://www.fastmail.fm - Consolidate POP email and Hotmail in one place

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: "Malformed network data" when trying ls over SSH

Posted by mark benedetto king <mb...@boredom.org>.
On Wed, Apr 02, 2003 at 06:38:53PM -0500, Greg Hudson wrote:
> On Wed, 2003-04-02 at 18:26, Francois Beausoleil wrote:
> > Sorry but, what is a dotfile ?
> > 
> > And, what do you mean that I do not have a clear SSH channel ?  I can
> > connect using plink (ssh-like program) and the putty client.
> 
> If you run something like "ssh servername ls", do you see any output
> other than the output of ls?  If so, that's what is confusing ra_svn.
> 
> 

A really easy test:

"ssh servername /bin/true" should produce no output.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: "Malformed network data" when trying ls over SSH

Posted by Greg Hudson <gh...@MIT.EDU>.
On Wed, 2003-04-02 at 18:26, Francois Beausoleil wrote:
> Sorry but, what is a dotfile ?
> 
> And, what do you mean that I do not have a clear SSH channel ?  I can
> connect using plink (ssh-like program) and the putty client.

If you run something like "ssh servername ls", do you see any output
other than the output of ls?  If so, that's what is confusing ra_svn.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: "Malformed network data" when trying ls over SSH

Posted by Francois Beausoleil <fb...@ftml.net>.
Sorry but, what is a dotfile ?

And, what do you mean that I do not have a clear SSH channel ?  I can
connect using plink (ssh-like program) and the putty client.

Thanks,
Francois

On 02 Apr 2003 15:59:36 -0500, "Greg Hudson" <gh...@MIT.EDU> said:
> On Wed, 2003-04-02 at 15:54, Francois Beausoleil wrote:
> > My problem is that svn reports an error when it connects to the server.
> > I guess I did something wrong somewhere, but I do not know where !
> 
> Most likely you don't have a clear ssh channel; your dotfiles are
> spewing some kind of output.  In the future, tunneled ra_svn might
> protect against that sort of thing, but for now it does not.
> 
> > Anyway, my first real question is:  Should I leave the svnserve process
> > running as a daemon if I use lib_ra_svn over SSH ?
> 
> No; it won't have any effect.
> 
> 

-- 
http://www.fastmail.fm - And now for something completely differentÂ…

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: "Malformed network data" when trying ls over SSH

Posted by Greg Hudson <gh...@MIT.EDU>.
On Wed, 2003-04-02 at 15:54, Francois Beausoleil wrote:
> My problem is that svn reports an error when it connects to the server.
> I guess I did something wrong somewhere, but I do not know where !

Most likely you don't have a clear ssh channel; your dotfiles are
spewing some kind of output.  In the future, tunneled ra_svn might
protect against that sort of thing, but for now it does not.

> Anyway, my first real question is:  Should I leave the svnserve process
> running as a daemon if I use lib_ra_svn over SSH ?

No; it won't have any effect.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org