Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
On Wed, Feb 16, 2011 at 6:25 PM, Richard Hipp d...@sqlite.org wrote: My current approach is to run ssh to a shell on the remote side and then issue shell command over the wire that invoke Fossil multiple times to act as a server for the client-side protocol. It's all a bit dodgy. git uses

Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
2011/2/17 Lluís Batlle i Rossell virik...@gmail.com Please correct me if I am wrong; I just think that noone finds this information of any relevance in this thread. That's my understanding as well, but i get the same results with: ssh -T host 'echo $PATH' ssh host 'echo $PATH' i have a

Re: [fossil-users] SSH status

2011-02-17 Thread Lluís Batlle i Rossell
On Thu, Feb 17, 2011 at 11:42:19AM +0100, Stephan Beal wrote: 2011/2/17 Lluís Batlle i Rossell virik...@gmail.com i have a bashrc configured on that box, which includes ~/bin in my path, and my bash_profile simply sources bashrc, but the hoster has apparently done something to their ssh which

Re: [fossil-users] SSH status

2011-02-17 Thread Richard Hipp
On Thu, Feb 17, 2011 at 5:04 AM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Feb 16, 2011 at 6:25 PM, Richard Hipp d...@sqlite.org wrote: My current approach is to run ssh to a shell on the remote side and then issue shell command over the wire that invoke Fossil multiple times to act

Re: [fossil-users] SSH status

2011-02-17 Thread Mike Meyer
On Wed, 16 Feb 2011 13:38:08 -0500 Ron Wilson ronw.m...@gmail.com wrote: On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin c...@apotheon.net wrote: I've been rummaging through the list archives, and sifting through the Web documentation, but I am still not clear on the status of using SSH to

Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
2011/2/17 Lluís Batlle i Rossell virik...@gmail.com I've had troubles with 'dropbear' loading the proper scripts. Does your provider use openssh? It appears to be. ssh --help output looks like my local ssh's output (but doesn't name the product) and 'man ssh' says it's openssh. They use

Re: [fossil-users] SSH status

2011-02-16 Thread Justin Mazzi
That doesn't look like the correct fix. A better fix might be not allocating a real shell/tty. On Wed, Feb 16, 2011 at 12:22 PM, Ramon Ribó ram...@compassis.com wrote: I think that it has still some problems. This ticket contains a bug correction still not applied to the code:

Re: [fossil-users] SSH status

2011-02-16 Thread Justin Mazzi
What about using regular pipes? exec ssh remote-server 'fossil command to output raw server data' | fossil receive data On Wed, Feb 16, 2011 at 12:25 PM, Richard Hipp d...@sqlite.org wrote: On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin c...@apotheon.net wrote: I'm new to this list. Be

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 12:36 PM, Justin Mazzi jma...@gmail.com wrote: What about using regular pipes? exec ssh remote-server 'fossil command to output raw server data' | fossil receive data Multiple round-trips from client-server-client are required. On Wed, Feb 16, 2011 at 12:25

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 1:06 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Wed, Feb 16, 2011 at 12:25:11PM -0500, Richard Hipp wrote: If any reader has suggestions on a better way to do SSH access for Fossil, please speak up. The correct way is to use ssh -T and a single

Re: [fossil-users] SSH status

2011-02-16 Thread Lluís Batlle i Rossell
On Wed, Feb 16, 2011 at 12:25:11PM -0500, Richard Hipp wrote: On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin c...@apotheon.net wrote: If any reader has suggestions on a better way to do SSH access for Fossil, please speak up. What do you think about what I suggested some time ago in

Re: [fossil-users] SSH status

2011-02-16 Thread Lluís Batlle i Rossell
On Wed, Feb 16, 2011 at 01:04:56PM -0500, Richard Hipp wrote: On Wed, Feb 16, 2011 at 12:36 PM, Justin Mazzi jma...@gmail.com wrote: What about using regular pipes? exec ssh remote-server 'fossil command to output raw server data' | fossil receive data Multiple round-trips from

Re: [fossil-users] SSH status

2011-02-16 Thread Ron Wilson
On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin c...@apotheon.net wrote: I've been rummaging through the list archives, and sifting through the Web documentation, but I am still not clear on the status of using SSH to encrypt connections for push/pull and other operations using Fossil.  Is

Re: [fossil-users] SSH status

2011-02-16 Thread Justin Mazzi
What about setting up a persistent connection using ControlMaster/ControlPath/ControlPersist (man ssh_config) and reusing it for the multiple commands needed? On Wed, Feb 16, 2011 at 1:08 PM, Richard Hipp d...@sqlite.org wrote: On Wed, Feb 16, 2011 at 1:06 PM, Joerg Sonnenberger

Re: [fossil-users] SSH status

2011-02-16 Thread Joerg Sonnenberger
On Wed, Feb 16, 2011 at 01:08:40PM -0500, Richard Hipp wrote: On Wed, Feb 16, 2011 at 1:06 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Wed, Feb 16, 2011 at 12:25:11PM -0500, Richard Hipp wrote: If any reader has suggestions on a better way to do SSH access for Fossil,

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin c...@apotheon.net wrote: I'm new to this list. Be gentle. I've been rummaging through the list archives, and sifting through the Web documentation, but I am still not clear on the status of using SSH to encrypt connections for push/pull and

Re: [fossil-users] SSH status

2011-02-16 Thread Lluís Batlle i Rossell
On Wed, Feb 16, 2011 at 02:36:16PM -0500, Richard Hipp wrote: OK, so I've made some tweaks to the SSH code based on the many helpful suggestions sent in by readers. (Thanks!) Now the ball is back over to you, Chad. Go forth and test. Let us know about both your successes and failures.

Re: [fossil-users] SSH status

2011-02-16 Thread Chad Perrin
On Wed, Feb 16, 2011 at 02:36:16PM -0500, Richard Hipp wrote: OK, so I've made some tweaks to the SSH code based on the many helpful suggestions sent in by readers. (Thanks!) Now the ball is back over to you, Chad. Go forth and test. Let us know about both your successes and failures.

Re: [fossil-users] SSH status

2011-02-16 Thread Chad Perrin
On Wed, Feb 16, 2011 at 10:55:36PM +0100, Lluís Batlle i Rossell wrote: And /bin/sh is a requirement of glibc for system() to work, so I imagine sh will be available in most unix systems. Don't you think so? Using sh instead of something like bash sounds perfectly reasonable to me (if I

Re: [fossil-users] SSH status

2011-02-16 Thread Chad Perrin
On Wed, Feb 16, 2011 at 09:51:14PM +0100, Louis Hoefler wrote: I meant ssl not ssh. Sorry. Well . . . speaking of SSH VPNs . . . Is there some simple way to configure Fossil to use a local proxy by default so that an SSH SOCKS proxy could be used without having to hide some kind of painful

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 6:43 PM, Chad Perrin c...@apotheon.net wrote: On Wed, Feb 16, 2011 at 09:51:14PM +0100, Louis Hoefler wrote: I meant ssl not ssh. Sorry. Well . . . speaking of SSH VPNs . . . Is there some simple way to configure Fossil to use a local proxy by default so that an

Re: [fossil-users] SSH status

2011-02-16 Thread Chad Perrin
On Wed, Feb 16, 2011 at 07:01:29PM -0500, Richard Hipp wrote: On Wed, Feb 16, 2011 at 6:43 PM, Chad Perrin c...@apotheon.net wrote: Is there some simple way to configure Fossil to use a local proxy by default so that an SSH SOCKS proxy could be used without having to hide some kind of