Skip to main content

Remote keyring over SSH

Project description

https://img.shields.io/pypi/v/skeleton.svg https://img.shields.io/pypi/pyversions/skeleton.svg tests Code style: Black

Remote Agent Keyring

Implements a remote agent keyring for use over SSH connections.

Requires OpenSSH 6.7.

To use, on the host machine, install jaraco.keyring and invoke the server:

python -m jaraco.keyring.server

That starts a server listening only on localhost:4273.

Then, connect to the remote host and forward the traffic back to the keyring server:

ssh -R /tmp/keyring.sock:localhost:4273 remote_host

This command creates a unix domain socket at /tmp/keyring.sock which only that user can access.

Then, on that host, configure keyring to use the remote agent backend. For example,

keyring -b jaraco.keyring.RemoteAgent get SERVICE USERNAME

The remote agent backend will request the password over the tunnel, where the server will request the password using the default configuration.

Project details


Download files

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

Source Distribution

jaraco.keyring-2.1.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

jaraco.keyring-2.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file jaraco.keyring-2.1.0.tar.gz.

File metadata

  • Download URL: jaraco.keyring-2.1.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for jaraco.keyring-2.1.0.tar.gz
Algorithm Hash digest
SHA256 21449f7aedc70ba5844c94bf30c27acef62a944884279334cf13ce1970511540
MD5 9d46691f8c776a616de18025b10b84f9
BLAKE2b-256 832e41c6ad8657732354246f3cc79d5412f9531d2f85208634853bd7f0843c8a

See more details on using hashes here.

File details

Details for the file jaraco.keyring-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: jaraco.keyring-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for jaraco.keyring-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43340ff88b6e943a3dab00836cf2296ed0bc58ab1de85050f509a2afbe1b0acb
MD5 cf4167acef9373fe00cb09d9dc60cf2e
BLAKE2b-256 3cd1402f1590641165a2d9f7ba952230906d0958277eb84fb7856651f46558c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page