A small script to connect the existing ssh agent
Project description
ssh-connect
A small script to connect the existing ssh agent
version
ssh-connect v1.0
installation
pip install ssh-connect
usage
eval $(python -m ssh-connect)
You can give this command an alias to simplify the it:
Add the following line to you bashrc
Usually
~/.bashrc
(current user) or/etc/bashrc
(global); if you use Git For Windows, it's/etc/bash.bashrc
alias ssh-connect='python -m ssh-connect'
Then you can use the command
eval $(ssh-connect)
The command finds the first existing ssh agent and connect it.
Note: If you have more than one ssh agent running in the background, which agent that would be connected is undefined.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh-connect-1.0.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for ssh_connect-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347c60869ce5370ed5c7c581ee78b2cf5e4584700377226c7be16493e5aa5401 |
|
MD5 | ac1f84c8f7034c976b94f4ffa421af9d |
|
BLAKE2b-256 | 437772c1133fe70612abd926e784d9901daaa5aa932a6af412471b7345962635 |