When I try to copy a file from server 192.168.180.47 to server 192.168.152.239, I get an error:
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
[email protected]: Permission denied (publickey,password).
lost connection
my command for copy file from 47 host in Jenkisn shell command
scp /home/app/download/app/application_1.1.tar.gz sshpass -p mypassword [email protected]:/home/Myapp
i tried adding host 47 via ssh-keyscan but it didn’t work. Also I reinstalled ssh_askpass but that didn’t help either