Re: [rundeck] SSH Password was not set

3,433 views
Skip to first unread message

Neerav Vadodaria

unread,
Apr 30, 2013, 11:28:31 AM4/30/13
to rundeck...@googlegroups.com

Tapan make sure you have input type as secure remote authentication

Regards,
Neerav vadodaria

On Apr 24, 2013 9:32 PM, "Tapan Raut" <tapan...@gmail.com> wrote:
Hi,

Could anyone please help me to configure "Configuring SSH Password Authentication". I have followed the instruction given by "manual/plugins.html#configuring-ssh-password-authentication". I am able to get the text box to enter the password but after I typed the password and hit run I am getting the below error message :

"Failed: ConfigurationFailure: SSH Password was not set"; 

What I did was :

 > I have added ssh-authentication="password" ssh-password-option="option.sshPassword1" on the node level

> While creating Job in GUI I have selected the particular node which has password authentication and I have added the options (option name = sshPassword1 , Input Type = secure, requirement = Yes ).
 
Please let me know if I missed something or any problem with configuration. Thanks in advance.

Regards,
Tapan R.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tapan Raut

unread,
May 3, 2013, 8:16:25 AM5/3/13
to rundeck...@googlegroups.com
Thanks for the Reply, I have selected the Input type as Secure from the GUI. Still Same error.

One more question the Option Name in the GUI is read only ?

Thanks for the help in advance.

Tapan Raut

unread,
May 3, 2013, 11:15:56 AM5/3/13
to rundeck...@googlegroups.com
Hi All,

I have added the Node and Job (secure option) to my project. Also placed the public key under authorized_keys of remote server.

I am able to connect to remote server through CYGWIN. But still my job is throwing "Failed: ConfigurationFailure: SSH Password was not set" error.

I don't know what is wrong.Please help me on this.

Regards,
Tapan

K West

unread,
May 3, 2013, 11:52:07 AM5/3/13
to rundeck...@googlegroups.com
Hi

your 1st question was about password authentication ... so why are you using a public key now ?
Also you tried to use a custom name for the password option ... why didn't you just go with the default name "sshPassword" ?
As Neerav Vadodaria said, make sure to select "Secure Remote Authentication" in the GUI (you said you selected "Secure").

I have the password auth defined on each of my nodes like this:

myhost1:
   hostname: myhost1
   ssh-authentication: password

And on my jobs definition, i have added an option with "option name" set to "sshPassword" with type "Secure Remote Authentication". Works fine.

Hope it helps.

Neerav Vadodaria

unread,
May 3, 2013, 11:59:35 AM5/3/13
to rundeck...@googlegroups.com

Hi tapan,

What is your input type.we have 2 input types secure and secure remote authentication..select the securw remote auth. Abd make sure your option name is exactly same as what you have defined in the node property "ssh-password-option"'.

If . You want to run via publuc key then make sure your node is configured for it. set  "ssh-authentication" to privateKey.

Regards,
Neerav vadodaria

Tapan Raut

unread,
May 4, 2013, 3:46:58 AM5/4/13
to rundeck...@googlegroups.com
Thanks a lot for the help Neerav & K West. Finally I am able to run the command using RUNDECK. 

One more help : How to run scripts present in remote server ?

Thanks again...

Tapan.

Alex-SF

unread,
May 4, 2013, 1:33:26 PM5/4/13
to rundeck...@googlegroups.com
Hi Tapan,

Just use the command step and call the script like it was a local system command.

Thanks

Tapan Raut

unread,
May 18, 2013, 10:47:00 AM5/18/13
to rundeck...@googlegroups.com
Again Stuck guys - 

I want to move my files (log & properties files) from my local machine to Remote server using RUNDECK.

I tries to use "scp abc.txt user...@remotehost.com:/directory" command on the job. But its giving error:

         ssh: C: node name or service name not known (C: drive is where files are present)


Remote command failed with exit status 1

Is there another way to do this or I am doing something wrong. Please help me on this.

Thanks,
Tapan
Reply all
Reply to author
Forward
0 new messages