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!

Public Key Distribution made simple.

Project Description

Need to setup private/public key server connections for e.g. password less ssh communications? Tired of manually having to copy around public keys?

pubkey creates a RESTful endpoint and replies with the public key you want to share. Default is plain text so you can use curl to download and apply the public key with a single step. Optionally the key can be wrapped in a json document for other usecases.

Simply run the following command on the source server:

$ pubkey –auto # Starts the pubkey server with default settings and IP auto detection

INFO: pubkey file used: /Users/xxxxx/.ssh/ INFO: pubkey server started at Remote host command:

curl -s -S >> ~/.ssh/authorized_keys

Press ctrl-C to stop.

Then copy the curl statement provide above to the terminal of the server you would like to add the public key to:

curl -s -S >> ~/.ssh/authorized_keys

Done. If you did not get an error (e.g. unreachable host) you are all set.

For more information head over to github:

Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pubkey-0.9.6.tar.gz (9.0 kB) Copy SHA256 Checksum SHA256 Source Sep 15, 2015

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting