Hi Russ,
I've been hit (well, my users, but this is my job to keep them happy) by the very same problem. Besides of setting ServerAlive in ssh options -which has no effect w/r to Rundeck-, I had to change the executors to OpenSSH :
service.FileCopier.default.provider=ssh-copier
service.NodeExecutor.default.provider=ssh-exec
HTH
Xavier
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/c1a03abe-79a7-4da5-bd1c-bedb6d77d239n%40googlegroups.com.
-- Xavier Humbert CRT Supervision et Exploitation de Niveau 1 Rectorat de Nancy-Metz 03 83 86 27 39
Hi Russ,
Following this, you can set a job level authentication in this way:
On the node definition:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<node name="node00" description="Node 00" tags="mytag" hostname="192.168.33.20" osArch="amd64" osFamily="unix" osName="Linux" osVersion="3.10.0-1062.4.1.el7.x86_64" username="${option.myuser}" ssh-authentication="password" ssh-password-option="option.sshPassword1"/>
</project>
Which works with the following job definition (like your scenario):
<joblist>
<job>
<context>
<options preserveOrder='true'>
<option name='sshPassword1' secure='true' />
<option name='myuser' value='vagrant' />
</options>
</context>
<defaultTab>nodes</defaultTab>
<description></description>
<dispatch>
<excludePrecedence>true</excludePrecedence>
<keepgoing>false</keepgoing>
<rankOrder>ascending</rankOrder>
<successOnEmptyNodeFilter>false</successOnEmptyNodeFilter>
<threadcount>1</threadcount>
</dispatch>
<executionEnabled>true</executionEnabled>
<id>b188c66c-c057-4bb7-98bf-7c84632bc144</id>
<loglevel>INFO</loglevel>
<name>Whoami</name>
<nodeFilterEditable>false</nodeFilterEditable>
<nodefilters>
<filter>name: node00</filter>
</nodefilters>
<nodesSelectedByDefault>true</nodesSelectedByDefault>
<plugins />
<scheduleEnabled>true</scheduleEnabled>
<sequence keepgoing='false' strategy='node-first'>
<command>
<exec>whoami</exec>
</command>
</sequence>
<uuid>b188c66c-c057-4bb7-98bf-7c84632bc144</uuid>
</job>
</joblist>
Hope it helps!