Ok, if I refer to logs above, you want to copy files from *icsl7024* machine
to *cg-sv-h118* workspace. Right ?
My question was not very clear, but I would like to know how do you provide
credentials between *cg-sv-h118 *and *i**csl7024* machines ?

Can you please also confirm that outside of Jenkins, you are able to
connect from *cg-sv-h118 *to *icsl7024 *through SSH (without password) ?
Can you also check if */home/${USER}/.ssh/* directory and
*/home/${USER}/.ssh/authorized_keys* file have the correct file permissions
(respectively 700 and 644) on both machines ?

Michaƫl


2017-08-06 13:31 GMT+02:00 Shiran <shiranho...@gmail.com>:

> Hi,
>
> I'm connecting to this node via ssh , and I have the host and credentials
> configured in the node's configuration in Jenkins.
> The same rsync command is working just fine when I'm doing it outside
> Jenkins.
>
>
> On Sunday, August 6, 2017 at 10:53:41 AM UTC+3, mpapo - Michael Pailloncy
> wrote:
>>
>> ssh is asking for the password or a passphrase if the key is invalid.
>> Is-there a passphrase configured for this key ? Have you tried to connect
>> directly using ssh from this machine to the target one ?
>> BTW, how do you provide credentials ?
>>
>> 2017-08-06 9:28 GMT+02:00 Shiran <shira...@gmail.com>:
>>
>>> Hi,
>>>
>>> I'm copying files from one machine to another (to *cg-sv-h118* in the
>>> log below) using rsync command.
>>> Important to say that this command is working as expected in other
>>> machines I use (all have the same setup)
>>> Can you help me understand the yellow errors below?
>>> Thanks!
>>>
>>> *Log:*
>>>
>>> *22:22:15* Building remotely on *cg-sv-h118* in workspace 
>>> /local/jenkins_ws/workspace/open_val*22:22:15* [open_val] $ /bin/bash 
>>> /tmp/hudson8936548899971970339.sh
>>> *22:22:15* Starting to rsync files from parent workspace: 
>>> icsl7024:/tmp/jenkins_ws/workspace/post_trigger*22:22:15* 
>>> *************************************************22:22:15* Use of this 
>>> system by unauthorized persons or   *22:22:15* in an unauthorized manner is 
>>> strictly prohibited*22:22:15* 
>>> *************************************************22:22:15* ssh_askpass: 
>>> exec(/usr/bin/ssh-askpass): No such file or directory*22:22:16* 
>>> ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or 
>>> directory*22:22:17* ssh_askpass: exec(/usr/bin/ssh-askpass): No such file 
>>> or directory*22:22:17* Permission denied 
>>> (gssapi-with-mic,publickey).*22:22:17* rsync: connection unexpectedly 
>>> closed (0 bytes received so far) [Receiver]*22:22:17* rsync error: 
>>> unexplained error (code 255) at io.c(226) [Receiver=3.1.1]
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/1b65beed-2e2e-4d4d-b0ee-9c5c0ddaf125%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/1b65beed-2e2e-4d4d-b0ee-9c5c0ddaf125%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/f21add86-7c1d-4e27-901c-75161cd4864c%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/f21add86-7c1d-4e27-901c-75161cd4864c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPO77c0SNgV-3axFfS9vNFUmuTQtT4_WffUc1H41L-oCTmtZ9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to