Ignore:
Timestamp:
Mar 18, 2018, 12:19:26 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Generate IPv6 records for DNS server.
  • Modified: Add more webcams.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/Routerboard.php

    r658 r854  
    88  var $UserName;
    99  var $Password;
    10   var $PrivateKey = 'id_dsa';
     10  var $PrivateKey = '~/.ssh/id_dsa';
    1111  var $MaxBurstLineCount = 100;
    1212  var $Debug = false;
     
    5252      $Commands = str_replace('$', '\$', $Commands);
    5353      //$Commands = str_replace(' ', '\ ', $Commands);
    54       $Command = $this->SSHPath.' -o ConnectTimeout='.$this->Timeout.' -l '.$this->UserName.' -i '.$this->PrivateKey.' '.$this->HostName.' "'.$Commands.'"';
     54      $Command = $this->SSHPath.' -o ConnectTimeout='.$this->Timeout.' -l '.$this->UserName.' -o HostKeyAlgorithms=+ssh-dss -o KexAlgorithms=diffie-hellman-group14-sha1 -i '.$this->PrivateKey.' '.$this->HostName.' "'.$Commands.'"';
    5555      if($this->Debug) echo($Command);
    5656      $Output = array();
Note: See TracChangeset for help on using the changeset viewer.