ssh-agent support

24 views
Skip to first unread message

Jim Richard

unread,
Oct 10, 2024, 3:57:20 PM10/10/24
to rundeck-discuss
is the documentation still accurate when it refers to ssh-agent as "incubator feature" ?


and this documentation, refers to which ssh plugin?

ssh or sshj or openssh ? 

Thanks !

rac...@rundeck.com

unread,
Oct 10, 2024, 4:28:51 PM10/10/24
to rundeck-discuss

Hi,

That feature is for the “old” JSCH plugin (SSH).

This will start /usr/bin/ssh-agent on each command step execution (if enabled), inject the private key the job would normally use in the agent, make the agent available on the newly created jsch connection and enable agent forwarding on the connection. Once the job is done the ssh-agent is killed. Optionally ssh-agent can be started with -t which will guarantee the private key will be flushed at that time if by some chance it’s not killed.

Regards.

Jim Richard

unread,
Oct 10, 2024, 4:32:14 PM10/10/24
to rundeck-discuss
thanks for clarifying and to be clear, so that I don't spend time trying to make it work on the "other" ssh plugin, sshj-ssh

ssh-agent for sshj-ssh is "not a thing", correct?

rac...@rundeck.com

unread,
Oct 10, 2024, 5:03:23 PM10/10/24
to rundeck-discuss
> ssh-agent for sshj-ssh is "not a thing", correct?

That's correct. It isn't supported yet.

Greetings.
Reply all
Reply to author
Forward
0 new messages