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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssh_connect-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file ssh-connect-1.0.0.tar.gz.

File metadata

  • Download URL: ssh-connect-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ssh-connect-1.0.0.tar.gz
Algorithm Hash digest
SHA256 39bc14df7403bfcc66a9c9f9abf4e583d0a91e9c657324f191843fc2ba393d2f
MD5 44524663ce7a61562b738ad250eeb32d
BLAKE2b-256 e8fdf402e3f34f464b12480eeab6f880a483fd590e2149699b973a016a16378d

See more details on using hashes here.

File details

Details for the file ssh_connect-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ssh_connect-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ssh_connect-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 347c60869ce5370ed5c7c581ee78b2cf5e4584700377226c7be16493e5aa5401
MD5 ac1f84c8f7034c976b94f4ffa421af9d
BLAKE2b-256 437772c1133fe70612abd926e784d9901daaa5aa932a6af412471b7345962635

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