Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

PyPI SSH Access

Project Description

PyPI SSH Access

For a long time, PyPI access required HTTP basic authentication with username and password. Even though OpenID is supported as well today, this cannot work for use in the distutils register and upload commands. In addition to these two methods, PyPI also supports authentication with an SSH key.

To use this feature, upload your SSH key into the PyPI’s Your Details form. As distutils currently doesn’t support using such a connection, this package performs heavy monkey-patching of distutils to make it use the system’s ssh command. Users using this package should run ssh-agent (which runs automatically in the background on many systems) and load their PyPI key into the ssh agent.

This release requires an “ssh” binary in the path. It has been tested on Mac OS X and Linux, with Python 2.5, 2.6, and 2.7.

The source code and bug tracker for this package is available on Bitbucket.


1.4 (2012-07-05):
  • add missing import for gpg signing (Jeff Dairiki)
  • change server name to
1.3 (2011-04-13):
  • fix file list
1.2 (2011-04-10):
  • support Python 2.5 and 2.6
  • various bug fixes

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.1 kB) Copy SHA256 Hash SHA256
Source None Jul 5, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting