[freeside-commits] branch FREESIDE_4_BRANCH updated. 4bc22241c53c2c990b81d99afd870f5158e3daac

Christopher Burger burgerc at freeside.biz
Sat Jan 13 09:44:56 PST 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  4bc22241c53c2c990b81d99afd870f5158e3daac (commit)
      from  f62343b37ee9d4901434ea0e6b3cc68e8224a7bd (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 4bc22241c53c2c990b81d99afd870f5158e3daac
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