Hi,

   - Yes- I'm trying to copy files from icsl7024 to cg-sv-h118.
   - I am not, explicitly, providing credentials between cg-sv-h118 and 
   icsl7024. What is happening is that when the build starts, I am 
   already connected to cg-sv-h118 (with the correct username and password), 
   and then I'm just doing rsync between the machines.
   - Outside of Jenkins I am able to connect from cg-sv-h118 to icsl7024 
   (they both use the same username...)
   - I checked the permission of  ~/.ssh and ~/.ssh/authorized_keys and 
   they are as expected (700 and 644), on both machines.
   

On Sunday, August 6, 2017 at 4:51:09 PM UTC+3, mpapo - Michael Pailloncy 
wrote:
>
> 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 <[email protected] <javascript:>>:
>
>> 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 <[email protected]>:
>>>
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/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 [email protected] <javascript:>.
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cc5172d2-eb7d-4972-ba77-6b7f894fe6f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to