Hello,

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 
root@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
Any thoughts?

Best regards,

Thiago

-


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."

-- 
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/5f402dcf32e2f9ed385a939293b55a2b2b0b16c6%40serpro.gov.br.
For more options, visit https://groups.google.com/d/optout.

Reply via email to