[RFC][PATCH] sftp transport whithout sftp subsystem configured
Goffredo Baroncelli
kreijack at alice.it
Tue Mar 7 12:27:32 GMT 2006
On Tuesday 07 March 2006 00:12, Martin Pool wrote:
> On 6 Mar 2006, Goffredo Baroncelli <kreijack at alice.it> wrote:
> > Hi all,
> >
> > on the server that hosts my projects, the sftp subsystem isn't
> > configured on the sshd server. It still possible to do sftp but it is
> > needed to pass the explicit path of the sftp-server to the sftp client.
>
> It sounds reasonable to me. Perhaps it'd be better in a configuration
> file?
The value passed via the environment variable is distribution dependent:
if the server is ubuntu the correct value is "/usr/lib/openssh/sftp-server", for a
redhat distribution the correct value is /usr/libexec/openssh/sftp-server....
So i don't know if it is correct to use a configuration file: you have to change
the value depending to the server which you connect. I think that using a
environment variable permits a more simple and evident switch of the configuration:
think about the possibility that the server changed configuration and
the value set in the configuration file is not good anymore...
It should be more useful to insert this option in the url: I am thinking about
something like
sftp://[youroption=yourvalue]user@serve/path
more options can be passed using a comma as separator
Do you like the idea ?
Goffredo
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the bazaar
mailing list