in similar cases I add the following option to the ssh command:
Prerequisite: the test user/host must be configured in the target's
.ssh directory (known hosts, authorized keys) so that the login does
not require a password. If this does not work the ssh command with
the above option returns with an error message instead of waiting
for password input.
On 22/10/2012 18:02, MEVEL Clement
In my project I need to retrieve various files from the server to analyze them with QFT. I am working on how I can get them from the server.
I didn't succeed with scp since the module is not recognized in the Jython script embarked in QFT.
I tried then the following script:
os.system(scp USER@SERVER:/SERVER_FILE_PATH LOCAL_FILE_PATH)
The command is well interpreted but the password is required to finalize the connection and I don't know how I can pass it.