ssh-keygen -t rsa
And added to known_hosts in my jenkins slave:ssh-keyscan -t rsa ${HOST_IP} >> ~/.ssh/known_hosts
Then I made a job to transfer files and I am getting the error:+ scp /opt/programas/jenkins/tmp/file.jar ro...@10.139.5.166:/opt/websites/jboss/6.3-eap/file.jar Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). lost connection
I'm having trouble to transfer files via scp to my CentOS servers. I generated RSA keys on destination servers:
ssh-keygen -t rsa
And added to known_hosts in my jenkins slave:
ssh-keyscan -t rsa ${HOST_IP} >> ~/.ssh/known_hosts
Then I made a job to transfer files and I am getting the error:
+ scp /opt/programas/jenkins/tmp/file.jar ro...@10.139.5.166:/opt/websites/jboss/6.3-eap/file.jar Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). lost connection
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
--
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/msgid/jenkinsci-users/d6f9dc43-a5e3-8799-0fbc-014581d3c742%40opentext.com.
For more options, visit https://groups.google.com/d/optout.