Re: [fossil-users] SSH status

2011-02-17 Thread Martin Gagnon
I tried cloning via SSH, it's now work well. Just one small thing. I don't know if it's my setup, but I get the following warning: Pseudo-terminal will not be allocated because stdin is not a terminal. Just after showing the ssh command line, which is only something like: ssh me@hostname my

Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
2011/2/17 Lluís Batlle i Rossell > 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 Linux servers, so i

Re: [fossil-users] SSH status

2011-02-17 Thread Mike Meyer
On Wed, 16 Feb 2011 13:38:08 -0500 Ron Wilson wrote: > On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin 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/pu

Re: [fossil-users] SSH status

2011-02-17 Thread Richard Hipp
On Thu, Feb 17, 2011 at 5:04 AM, Stephan Beal wrote: > On Wed, Feb 16, 2011 at 6:25 PM, Richard Hipp 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-si

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 > 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 causes those to

Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
2011/2/17 Lluís Batlle i Rossell > 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 bashrc configured

Re: [fossil-users] SSH status

2011-02-17 Thread Lluís Batlle i Rossell
On Thu, Feb 17, 2011 at 11:04:12AM +0100, Stephan Beal wrote: > On Wed, Feb 16, 2011 at 6:25 PM, Richard Hipp 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 th

Re: [fossil-users] SSH status

2011-02-17 Thread Stephan Beal
On Wed, Feb 16, 2011 at 6:25 PM, Richard Hipp 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 this approach

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 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 painful comm

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 6:43 PM, Chad Perrin 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 SSH SOCKS pr

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 comm

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

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 Lluís Batlle i Rossell
On Wed, Feb 16, 2011 at 02:36:16PM -0500, Richard Hipp wrote: > On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin 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

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 Louis Hoefler
I meant ssl not ssh. Sorry. Am 16.02.2011 21:50, schrieb Louis Hoefler: You could also setup a vpn service which uses ssh/other encryption. Would be a bit exaggerated but it is secure. Greetings, Louis Am 16.02.2011 18:03, schrieb Chad Perrin: I'm new to this list. Be gentle. I've been rumm

Re: [fossil-users] SSH status

2011-02-16 Thread Louis Hoefler
You could also setup a vpn service which uses ssh/other encryption. Would be a bit exaggerated but it is secure. Greetings, Louis Am 16.02.2011 18:03, schrieb Chad Perrin: I'm new to this list. Be gentle. I've been rummaging through the list archives, and sifting through the Web documentation

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin 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 other operations

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 > 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

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 wrote: > > > On Wed, Feb 16, 2011 at 1:06 PM, Joerg Sonnenberger < > jo...@britannica.bec.d

Re: [fossil-users] SSH status

2011-02-16 Thread Ron Wilson
On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin 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 Assuming you already

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 wrote: > > > What about using regular pipes? > > > > exec ssh remote-server 'fossil command to output raw server data' | fossil > > receive data > > > > Multiple round-trips from clien

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 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 http://www.fossil-scm.org/

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 1:06 PM, Joerg Sonnenberger 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 instance on the other

Re: [fossil-users] SSH status

2011-02-16 Thread Joerg Sonnenberger
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 instance on the other side. This doesn't currently work since the HTTP processing is fire-and-

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 12:36 PM, Justin Mazzi 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 PM, Richa

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 wrote: > > > On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin wrote: > >> I'm new to this list. Be gentle. >> >> I've been rumma

Re: [fossil-users] SSH status

2011-02-16 Thread Richard Hipp
On Wed, Feb 16, 2011 at 12:03 PM, Chad Perrin 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 other operations

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ó wrote: > > I think that it has still some problems. This ticket contains a bug > correction still not applied to the code: > > > http://www.fossil-scm.org/

Re: [fossil-users] SSH status

2011-02-16 Thread Ramon Ribó
I think that it has still some problems. This ticket contains a bug correction still not applied to the code: http://www.fossil-scm.org/index.html/info/884c40589fcee6fa54d18eb3e8db1d1ba337a294 RR 2011/2/16 Chad Perrin > I'm new to this list. Be gentle. > > I've been rummaging through the li

[fossil-users] SSH status

2011-02-16 Thread Chad Perrin
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 other operations using Fossil. Is it stable? Does it require special configurat