Skip to main content

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

This version

1.0.0

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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page