Merge branch 'SP-91-position-migration' of bitbucket.org:bluetradesys/spark into SP-91-position-migration
This commit is contained in:
commit
1bb4ce91cf
1 file changed
+1
-1
@@ -30,7 +30,7 @@ void begin_sftp_download(
|
||||
|
||||
|
||||
std::array<char,128> buffer;
|
||||
std::string cmd = fmt::format("sshpass -p {} scp -o ConnectTimeout={} {}:{} {}", password, timeout, url, file_name, temp);
|
||||
std::string cmd = fmt::format("sshpass -p {} sftp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout={} {}:{} {}", password, timeout, url, file_name, temp);
|
||||
FILE* pipe = popen(cmd.c_str(), "r");
|
||||
|
||||
LOG(Gen,Diag,"Downloading remote file using command: '{}'", cmd);
|
||||
|
||||
Reference in new issue
Block a user