I have a Jenkins instance which spins up workers in Fargate. However, the following occurs when I try to run sshagent:
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
SSH_AUTH_SOCK=/tmp/ssh-BX6ulrCb6Ksu/agent.163
SSH_AGENT_PID=166
Running ssh-add (command line suppressed)
ERROR: Timeout after 1 minutes
[ssh-agent] Started.[Pipeline]
{[Pipeline] sh[Pipeline] }
ERROR: Timeout after 1 minutes
[ssh-agent] Stopped.[Pipeline] // sshagent
Any idea why it might be timing out? I imagine were it failing to add the provided key, it would not be a time out, rather an explicit error no?
Originally reported by cestioco, imported from: ssh-add is timing out in a Fargate worker
- status: Open
- priority: Minor
- component(s): ssh-agent-plugin
- resolution: Unresolved
- votes: 0
- watchers: 1
- imported: 20260604-211335
Raw content of original issue
I have a Jenkins instance which spins up workers in Fargate. However, the following occurs when I try to run sshagent:
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
SSH_AUTH_SOCK=/tmp/ssh-BX6ulrCb6Ksu/agent.163
SSH_AGENT_PID=166
Running ssh-add (command line suppressed)
ERROR: Timeout after 1 minutes
[ssh-agent] Started.[Pipeline]
{[Pipeline] sh[Pipeline] }
ERROR: Timeout after 1 minutes
[ssh-agent] Stopped.[Pipeline] // sshagent
Any idea why it might be timing out? I imagine were it failing to add the provided key, it would not be a time out, rather an explicit error no?
- environment:
Jenkins 2.401.1
I have a Jenkins instance which spins up workers in Fargate. However, the following occurs when I try to run sshagent:
{[Pipeline] sh[Pipeline] }[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
SSH_AUTH_SOCK=/tmp/ssh-BX6ulrCb6Ksu/agent.163
SSH_AGENT_PID=166
Running ssh-add (command line suppressed)
ERROR: Timeout after 1 minutes
[ssh-agent] Started.[Pipeline]
ERROR: Timeout after 1 minutes
[ssh-agent] Stopped.[Pipeline] // sshagent
Any idea why it might be timing out? I imagine were it failing to add the provided key, it would not be a time out, rather an explicit error no?
Originally reported by cestioco, imported from: ssh-add is timing out in a Fargate worker
Raw content of original issue
Jenkins 2.401.1