Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A small script to connect the existing ssh agent

Project description


A small script to connect the existing ssh agent


ssh-connect v1.0


pip install ssh-connect


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

Download files

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

Files for ssh-connect, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ssh_connect-1.0.0-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ssh-connect-1.0.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page