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.
Metadata
Release files for xontrib-ssh-agent 1.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xontrib-ssh-agent-1.0.13.tar.gz | 3.1 kB | Details |
Release files / xontrib-ssh-agent-1.0.13.tar.gz
| Download URL | xontrib-ssh-agent-1.0.13.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5dfad9d402e5ef56a703f59e3802019627c013daeea193ea0ff6e590995fe5fc
|
|
BLAKE2b-256 checksum How to use checksums |
131fa8f4257e57c0f0a669f5a62bc6578eb0c0f4b4fae530b857fd9429748357
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|