ssh agent support (was: Re: bug in paramiko)

Robey Pointer robey at lag.net
Fri Dec 2 21:06:26 GMT 2005


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?) :)


> 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! ;)

robey





More information about the bazaar mailing list