[freeside-commits] branch master updated. 3229b75a85ab506a718ec684c3e0ca26c496c166

Christopher Burger burgerc at freeside.biz
Fri Jan 12 14:42:45 PST 2018


The branch, master has been updated
       via  3229b75a85ab506a718ec684c3e0ca26c496c166 (commit)
      from  234cbf5b650cfd5616a81b55d86b8bbd0b23c558 (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 3229b75a85ab506a718ec684c3e0ca26c496c166
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