String hostPath = doc.getElementsByTagName("host-path").item(0).getTextContent();
String pathProg = ParsConf.getPathProject();
String privateKey = ParsConf.getConfig()+File.separatorChar+"pyscript"+File.separatorChar+"id_raspberry_rsa";
File filename = new File(pathProg);
String path = filename.getAbsolutePath();
SecureContext context = new SecureContext(user,host);
// set optional security configurations.
context.setTrustAllHosts(true);
context.setPrivateKeyFile(new File(privateKey));
try {
Jscp.exec(context,path, hostPath, Arrays.asList("logs/log[0-9]*.txt","backups") );
} catch (IOException e) {
// TODO Auto-generated catch block