List Info

Thread: svn+ssh: Can't create tunnel




svn+ssh: Can't create tunnel
user name
2008-02-20 07:13:51
Hello,

I'm working on Windows and trying to simply connect to our
SVN server.
I've been using code similar to this:

import pysvn

def ssl_client_cert_prompt(realm, save):
    print 'ssl_client_cert_prompt'
def get_login(realm,username,save):
    print 'get_login'
def ssl_client_cert_password_prompt( realm, may_save ):
    print 'ssl_client_cert_password_prompt'

client = pysvn.Client()
client.callback_ssl_client_cert_prompt =
ssl_client_cert_prompt
client.callback_get_login = get_login
client.callback_ssl_client_cert_password_prompt =
ssl_client_cert_password_prompt

client.ls('svn+ssh://usernameserver/path/to/dir')


None of the callback functions get called and client.ls
raises a
ClientError with the message "Can't create tunnel: The
system cannot
find the file specified."  What am I doing wrong? I
haven't found any
good examples yet for how to manage secure connections. Do I
need to
move plink.exe somewhere and/or rename it?

--Tim

............................................................
..........
The information contained in this email message is intended
only for the use of the individuals to whom it is
addressed and may contain information that is privileged and
sensitive. If the reader of this message is not
the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have received
this communication in error, please notify the
sender immediately by email at the above referenced address.
Thank you.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: svn+ssh: Can't create tunnel
user name
2008-03-02 06:05:58
On Feb 20, 2008, at 13:13, Kellogg.Timothy wrote:

> Hello,
>
> I'm working on Windows and trying to simply connect to
our SVN server.
> I've been using code similar to this:
>
> import pysvn
>
> def ssl_client_cert_prompt(realm, save):
>     print 'ssl_client_cert_prompt'
> def get_login(realm,username,save):
>     print 'get_login'
> def ssl_client_cert_password_prompt( realm, may_save
):
>     print 'ssl_client_cert_password_prompt'
>

These SSL call backs are for HTTPS support.


> client = pysvn.Client()
> client.callback_ssl_client_cert_prompt =
ssl_client_cert_prompt
> client.callback_get_login = get_login
> client.callback_ssl_client_cert_password_prompt =
> ssl_client_cert_password_prompt
>
> client.ls('svn+ssh://usernameserver/path/to/dir')
>



>
> None of the callback functions get called and client.ls
raises a
> ClientError with the message "Can't create tunnel:
The system cannot
> find the file specified."  What am I doing wrong?
I haven't found any
> good examples yet for how to manage secure connections.
Do I need to
> move plink.exe somewhere and/or rename it?
>

I don't have experience of svn+ssh. I suggest that you check
that
the svn command line works first. My guess is that it will
not work
and once you fix that then pysvn will work.

Barry


------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )