how to automate password entering for scp command in Robot Framework?

365 views
Skip to first unread message

Arash Eghtesadi

unread,
Jan 8, 2015, 10:19:06 AM1/8/15
to robotframe...@googlegroups.com
Hello, 

I am writing a test script in Robot Framework which requires to copy a file from a remote host to local host using scp (SSHLibrary.Get File did not work for some reason), and I should not add public key of my local host to the authorized_host of the remote host, so when I run the test, it needs user interaction to type the password for scp to work.
 
I wonder if there is a way to automate that process in order not to need user interaction as the test is going to be run in continuous integration pipeline.

Best regards,
Arash 
Reply all
Reply to author
Forward
0 new messages