Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread j. van den hoff
I've tested this here (with Fossil-4473a27f3b6e049e) but can only report partial success: * it works using bash/ksh as login shell on the remote machine _if_ there is not too much text (the allocated buffer size (5) is still rather modest but usually sure sufficient) coming in from

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread Richard Hipp
On Mon, Nov 12, 2012 at 8:36 AM, j. van den hoff veedeeh...@googlemail.comwrote: I've tested this here (with Fossil-4473a27f3b6e049e) but can only report partial success: * it works using bash/ksh as login shell on the remote machine _if_ there is not too much text (the allocated buffer size

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread Richard Hipp
On Mon, Nov 12, 2012 at 9:51 AM, Richard Hipp d...@sqlite.org wrote: Please try again using http://www.fossil-scm.org/fossil/info/00cf858afeand let me know if the situation improves. If it still is not working, please run with the --sshtrace command-line option and send me the diagnostic

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread j. van den hoff
On Mon, 12 Nov 2012 15:51:04 +0100, Richard Hipp d...@sqlite.org wrote: On Mon, Nov 12, 2012 at 8:36 AM, j. van den hoff veedeeh...@googlemail.comwrote: I've tested this here (with Fossil-4473a27f3b6e049e) but can only report partial success: * it works using bash/ksh as login shell on the

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread Matt Welland
This works for me also but I had to comment out the adding of -p as the port was coming though as 0 (this is using fsecure ssh, tcsh, SLES9.) #ifdef __MINGW32__ blob_appendf(zCmd, -P %d, g.urlPort); #else /* blob_appendf(zCmd, -p %d, g.urlPort); */ I also haven't made sense of the

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-12 Thread j. v. d. hoff
On Mon, 12 Nov 2012 16:23:22 +0100, Richard Hipp d...@sqlite.org wrote: On Mon, Nov 12, 2012 at 9:51 AM, Richard Hipp d...@sqlite.org wrote: Please try again using http://www.fossil-scm.org/fossil/info/00cf858afeand let me know if the situation improves. If it still is not working,

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Ramon Ribó
Sshfs didn't fix the problems that I was having with fossil+ssh, or at least only did so partially. Why not? In what sshfs failed to give you the equivalent functionality than a remote access to a fossil database through ssh? 2012/11/11 Timothy Beyer bey...@fastmail.net At Sat, 10 Nov 2012

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Matt Welland
sshfs is cool but in a corporate environment it can't always be used. For example fuse is not installed for end users on the servers I have access to. I would also be very wary of sshfs and multi-user access. Sqlite3 locking on NFS doesn't always work well, I imagine that locking issues on sshfs

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread j. van den hoff
On Sun, 11 Nov 2012 10:39:27 +0100, Matt Welland estifo...@gmail.com wrote: sshfs is cool but in a corporate environment it can't always be used. For example fuse is not installed for end users on the servers I have access to. I would also be very wary of sshfs and multi-user access. Sqlite3

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread j. v. d. hoff
On Sun, 11 Nov 2012 19:35:25 +0100, Matt Welland estifo...@gmail.com wrote: On Sun, Nov 11, 2012 at 2:56 AM, j. van den hoff veedeeh...@googlemail.comwrote: On Sun, 11 Nov 2012 10:39:27 +0100, Matt Welland estifo...@gmail.com wrote: sshfs is cool but in a corporate environment it can't

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Matt Welland
I'll top-post an answer to this one as this thread has wandered and gotten very long, so who knows who is still following :) I made a simple tweak to the ssh code that gets ssh working for me on Ubuntu and may solve some of the login shell related problems that have been reported with respect to

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Richard Hipp
On Sun, Nov 11, 2012 at 5:11 PM, Matt Welland estifo...@gmail.com wrote: I'll top-post an answer to this one as this thread has wandered and gotten very long, so who knows who is still following :) I made a simple tweak to the ssh code that gets ssh working for me on Ubuntu and may solve

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Matt Welland
On Sun, Nov 11, 2012 at 3:44 PM, Richard Hipp d...@sqlite.org wrote: On Sun, Nov 11, 2012 at 5:11 PM, Matt Welland estifo...@gmail.com wrote: I'll top-post an answer to this one as this thread has wandered and gotten very long, so who knows who is still following :) I made a simple tweak

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Richard Hipp
On Sun, Nov 11, 2012 at 7:10 PM, Matt Welland estifo...@gmail.com wrote: On Sun, Nov 11, 2012 at 3:44 PM, Richard Hipp d...@sqlite.org wrote: On Sun, Nov 11, 2012 at 5:11 PM, Matt Welland estifo...@gmail.comwrote: I'll top-post an answer to this one as this thread has wandered and gotten

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Matt Welland
Comparison of your fix vs. my hack below. I suspect that blindly clearing out the buffer of any line noise before sending anything to the remote end will work better but I have no logic or solid arguments to back up that assertion. =

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-11 Thread Richard Hipp
On Sun, Nov 11, 2012 at 8:25 PM, Matt Welland estifo...@gmail.com wrote: Comparison of your fix vs. my hack below. I suspect that blindly clearing out the buffer of any line noise before sending anything to the remote end will work better but I have no logic or solid arguments to back up that

[fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread j. van den hoff
hi list, first time around: I've recently had a first look at fossil. it's mostly working as advertised but communication via ssh won't work. from going through the archives I get the impression that this is a rather long standing problem (~ years...) related to interfering output from the

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Richard Hipp
On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.comwrote: I would really appreciate if the ssh issue could get addressed by the developers. It has my attention. I just don't know what to do about it. Do you have any suggestions on how to improve the way the SSH method

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread j. van den hoff
On Sat, 10 Nov 2012 15:48:11 +0100, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.comwrote: whoa! that's a quick reply ;-). I would really appreciate if the ssh issue could get addressed by the developers. It has my attention.

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Martin Gagnon
On Sat, Nov 10, 2012 at 9:48 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.com wrote: I would really appreciate if the ssh issue could get addressed by the developers. It has my attention. I just don't know what to do

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Richard Hipp
On Sat, Nov 10, 2012 at 11:53 AM, Martin Gagnon eme...@gmail.com wrote: On Sat, Nov 10, 2012 at 9:48 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.com wrote: I would really appreciate if the ssh issue could get

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Martin Gagnon
On Sat, Nov 10, 2012 at 2:18 PM, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 11:53 AM, Martin Gagnon eme...@gmail.com wrote: On Sat, Nov 10, 2012 at 9:48 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.com

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Ramon Ribó
Hello, One simple solution, if using Linux, is sshfs. It creates a remote file system in the local computer. Then, You can sync as if the remote file were a local file. It works nicely. Maybe the fossil ssh implementation can get some ideas from this package. Ramon Ribó 2012/11/10 Martin

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread j. van den hoff
thanks for responding. On Sat, 10 Nov 2012 17:53:40 +0100, Martin Gagnon eme...@gmail.com wrote: On Sat, Nov 10, 2012 at 9:48 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Nov 10, 2012 at 9:43 AM, j. van den hoff veedeeh...@googlemail.com wrote: I would really appreciate if the ssh

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread j. van den hoff
thanks for responding. I managed to solve my problem in the meantime (see my previous mail in this thread), but I'll make a memo of sshfs and have a look at it. joerg On Sat, 10 Nov 2012 21:04:07 +0100, Ramon Ribó ram...@compassis.com wrote: Hello, One simple solution, if using Linux,

Re: [fossil-users] fossil 1.24 not working via ssh

2012-11-10 Thread Timothy Beyer
At Sat, 10 Nov 2012 22:31:57 +0100, j. van den hoff wrote: thanks for responding. I managed to solve my problem in the meantime (see my previous mail in this thread), but I'll make a memo of sshfs and have a look at it. joerg Sshfs didn't fix the problems that I was having with