• Uncategorized

About linux : Error-sshaskpass-execusrbinssh-askpass-No-such-file-or-directory-in-Jenkins

Question Detail

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

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.