Pre-existing ssh-agent is killed by ssh-agent-plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: ssh-agent-plugin
    • None

      ExecRemoteAgentFactory.isSupported() calls ssh-agent -k. If SSH_AGENT_PID is set and pointing to a running ssh-agent, the isSupported test will terminate it.

      In ExecRemoteAgentFactory.java#L59 , it could be fixed by tweaking the environment with envs()

      launcher.launch().cmds("ssh-agent", "-k").envs("SSH_AGENT_PID=")...

            Assignee:
            Xavier Vergés
            Reporter:
            Xavier Vergés
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: