[freeside-commits] branch FREESIDE_3_BRANCH updated. 3542fba5b1ec10d2632a87eff8f2beb32fc8c300

Christopher Burger burgerc at freeside.biz
Sat Jan 13 19:19:04 PST 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  3542fba5b1ec10d2632a87eff8f2beb32fc8c300 (commit)
      from  5d004e85e1d1cbc76b606516b9e4ed172ed80748 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3542fba5b1ec10d2632a87eff8f2beb32fc8c300
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Fri Jan 12 17:42:02 2018 -0500

    RT# 79121 - added flag to store public key in known host file

diff --git a/FS/bin/freeside-cdr-aninetworks-import b/FS/bin/freeside-cdr-aninetworks-import
index 0fd0659ec..1e6217648 100755
--- a/FS/bin/freeside-cdr-aninetworks-import
+++ b/FS/bin/freeside-cdr-aninetworks-import
@@ -152,7 +152,11 @@ sub sftp {
   #reuse connections
   return $sftp if $sftp && $sftp->cwd;
 
-  my %sftp = ( host => $host, user => $login, password => $password );
+  my %sftp = ( host => $host,
+               user => $login,
+               password => $password,
+               more => [-o => 'StrictHostKeyChecking no'],
+             );
 
   $sftp = Net::SFTP::Foreign->new(%sftp);
   $sftp->error and die "SFTP connection failed: ". $sftp->error;

-----------------------------------------------------------------------

Summary of changes:
 FS/bin/freeside-cdr-aninetworks-import | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list