Skip to main content

SSH agent integration for xonsh

Project description

Xontrib-ssh-agent

Ssh-agent xonsh integration.

Install

Install using pip

pip install xontrib-ssh-agent

Add to your .xonshrc:

xontrib load ssh_agent

Usage

This xontrib launches ssh-agent when xonsh is started if it isn't already running, and sets the required environment variables.

By issuing the ssh command it checks for added identities, and if there's none it adds them via the ssh-add command.

git support

To handle ssh identities, repassh is used under the hood. If it's on the $PATH, xontrib-ssh-agent sets $GIT_SSH to it by default. If your repassh command is not on the $PATH by default, but you still want to use it for git, then set $GIT_SSH to it manually, or set $REPASSH_COMMAND before you load this xontrib.

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

xontrib-ssh-agent-1.0.13.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file xontrib-ssh-agent-1.0.13.tar.gz.

File metadata

  • Download URL: xontrib-ssh-agent-1.0.13.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/21.8.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for xontrib-ssh-agent-1.0.13.tar.gz
Algorithm Hash digest
SHA256 5dfad9d402e5ef56a703f59e3802019627c013daeea193ea0ff6e590995fe5fc
MD5 d614bbb45bf0aad1c4001a6092d32fc1
BLAKE2b-256 131fa8f4257e57c0f0a669f5a62bc6578eb0c0f4b4fae530b857fd9429748357

See more details on using hashes here.

Supported by

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