[Catalog-sig] PyPI ssh access

M.-A. Lemburg mal at egenix.com
Tue Jan 12 14:56:45 CET 2010


Tarek Ziadé wrote:
> On Tue, Jan 12, 2010 at 2:11 PM, Doug Hellmann <doug.hellmann at gmail.com> wrote:
>>
>> On Jan 12, 2010, at 1:11 AM, Martin v. Löwis wrote:
>>
>>>>> I have now set up SSH access for PyPI. The procedure works like this:
>>>>
>>>> Sorry if this should be obvious, but what does ssh access to PyPI give
>>>> me, as a developer?  Can I manage uploads that way or something?
>>>
>>> In principle, you would be able to use all PyPI-related distutils
>>> commands (register, upload) over SSH, which then would free you from
>>> the need to provide a password (interactively, or on disk).
>>
>> Ah, nice!
>>
>>> In practice, this would require distutils to be modified to actually
>>> use that protocol, instead of using http over plain TCP.
>>
>> Are those changes planned?
> 
> I can add this to Distutils' upload command (and Distribute until
> Distutils is released standalone)
> as soon as people have tried it manually successfully.

I'm afraid that's hardly possible without more background information.

The server doesn't return anything for an HTTP request and Martin
didn't provide an example of what to enter...

$ ssh -T submit at pypi.python.org
The authenticity of host 'pypi.python.org (82.94.164.163)' can't be established.
RSA key fingerprint is 13:6a:a5:0c:e0:3e:56:81:2f:13:d9:9f:86:5d:ab:6f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'pypi.python.org,82.94.164.163' (RSA) to the list of known hosts.
GET / HTTP/1.1

$

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 12 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Catalog-SIG mailing list