ssh agent support

John A Meinel john at arbash-meinel.com
Fri Dec 2 21:57:18 GMT 2005


Robey Pointer wrote:
> 
> On 1 Dec 2005, at 12:00, John A Meinel wrote:
> 
>> Paramiko expects to be able to create a socket.AF_UNIX socket, even on
>> windows. Specifically in the paramiko.Agent() code.
> 
> It looks like it only tries to do that if you have "SSH_AUTH_SOCK"
> defined in your environment.  Is that actually set in your env on
> windows?  (Why?) :)

I use SSH_AUTH_SOCK under cygwin, but when I run the windows native bzr,
the env var is still around.

It is interesting that cygwin ssh-agent works just fine.

> 
> 
>> Of course, long term it would be nice if paramiko supported Putty's
>> pagent
> 
> I was looking at this the other day -- looks pretty hard.  I got the C
> source for talking to pagent on Windows, but it's using some very
> Windows-specific wackiness, which would be impossible for me to test,
> even if it has equivalent API exposed to python.  (I don't have a
> Windows box.)
> 
> I was hoping to adapt something from conch, because someone said they
> implemented pagent support, but that turned out not to be true.
> 
> If any Windows person wants to send me a patch, I'll probably include
> it.  I certainly couldn't prove it *doesn't* work! ;)

It isn't terribly important for me yet. I'm looking at switching to
windows native because the performance is a lot better (not having to go
through the cygwin abstraction).

If I ever get the executable bit fix in, and maybe some other stuff, I
might start using it, in which case I would care.

Can you post a location where to find the sources in case I want to come
back and look at it?

> 
> robey

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051202/1aad0f07/attachment.pgp 


More information about the bazaar mailing list