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/id_rsa.pub INFO: pubkey server started at http://192.168.0.36:1080 Remote host command:
curl -s -S 192.168.0.36:1080 >> ~/.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 192.168.0.36:1080 >> ~/.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: https://github.com/fxstein/pubkey
Metadata
Release files for pubkey 0.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pubkey-0.9.6.tar.gz | 9.0 kB | Without provenance | Details |
Release files / pubkey-0.9.6.tar.gz
| Download URL | pubkey-0.9.6.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c6683ee4f93f086a2c0ac34591dd956f87f871f37b7d19de643b1c855b96e7b
|
|
BLAKE2b-256 checksum How to use checksums |
fde4ecad79c077d28d5b2bb851c75e4189b06d34d974ed254a6d98f0714b691d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pubkey 0.9.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.