Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 706 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 706 Bytes

script screen find ssh agent

In a long running screen sessions on a remote host a forwarded ssh agent is only available till this first disconnect of the ssh connection.

This script searches for available agents and add them to the environment.

Usage

. screen-find-ssh-agent

Don't miss the dot. It is an alias for source and is needed to change the environment of the current shell.

Installation

Alternatives:

Or do it manually:

  • Close this repository and add it to the path environment.

  • Copy all scripts to a directory already added to the path environment. E.g. /usr/local/bin