Hi, I am trying to copy the war file from jenkin server to application server and both are linux boxes. I have tried lot of option like
*Option one:* *********** sshpass -p password scp -o StrictHostKeyChecking=no /opt/comp/jetty/9.3.7.v20160115/etc/core/ piansi...@testing.comp.com/opt/comp/jetty/9.3/resources/ *Option two:* *********** scp file-to-copy.war piansi...@test1xyz.comp.com:/tmp/ ssh piansi...@testing.comp.com sudo su – mv /tmp/file-to-copy.war /opt/comp/jetty/9.3/webapps/ Both cases it says "Permsion denied" in jenkins. Does this scp command support without password Or any certificate or token need to be creared. Can anyone have experience in transfering the files between two linux boxes without password? Thanks, Sachin -- 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/CABZrFoNrXiqVL3oO%3D2Sy%3DwPtR2xGjedSQwXCtYwAAz4OU54pNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.