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:
***********
Option two:
***********
scp file-to-copy.war
pian...@test1xyz.comp.com:/tmp/
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?