On Mon, Nov 22, 2010 at 12:52 AM, Martin Gignac <martin.gig...@gmail.com>wrote:

> Hi,
>
> Is there a way to turn on tracing or debugging for the ssh:// sync method?
>

There are no tracing/debugging options available at this time.


>
> I've been using Fossil with for a few weeks now and last week I
> stopped being able to pull updates from a remote repository via SSH. I
> tried creating a new repo on the remote server and cloning it using
> the ssh://localhost/test.fossil URL, but I get the same behavior when
> cloning:
>
> $ fossil new test.fossil
> project-id: 77b1ed83d6b0b50bcfa22119ccde293854e44f11
> server-id:  4c40cfae50ead6e87cd6ead414dd206f77be81b8
> admin-user: lmcgign (initial password is "d84d20")
> $ fossil clone ssh://localhost/test.fossil test2.fossil
> Enter passphrase for key '/home/lmcgign/.ssh/id_dsa': <enter passphrase>
>                 Bytes      Cards  Artifacts     Deltas
> Sent:              53          1          0          0
> waiting for server...
>
> and it stays there forever.
>
> The repo file is stored on an OpenBSD server and I don't really
> suspect the server to be at fault.
>

As currently implemented, Fossil opens the SSH connection then sends
multiple "fossil" commands to the remote host.  Each "fossil" command both
reads from standard input and writes to standard output, in order to
transfer information.  Thus the commands and the content travel over the
same pipe.  This works OK for the systems where I have tested it, but for
some reason does not work on OpenBSD.

And alternative implementation would be to issue a single "fossil server"
command over SSH and then tunnel the traffic using the "-P" option to SSH.
The trouble with the alternative approach is that we would have to guess at
a TCP port that is available on both client and server before setting up the
connection, and if we guess wrong the connection will fail.

Other suggestions about how to transfer content via SSH are welcomed.



>
> How can I get more debug to see what's going on?
>
> Thanks,
> -Martin
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to