tbrehm
2011-11-15 88273a930b0d36fb17ba64b5db6ff1052df5da89
server/plugins-available/shelluser_base_plugin.inc.php
@@ -235,7 +235,7 @@
      if (!file_exists($sshkeys)){
         // add root's key
         $app->file->mkdirs($sshdir, '0755');
         file_put_contents($sshkeys, file_get_contents('/root/.ssh/authorized_keys'));
         if(is_file('/root/.ssh/authorized_keys')) file_put_contents($sshkeys, file_get_contents('/root/.ssh/authorized_keys'));
      
         // Remove duplicate keys
         $existing_keys = file($sshkeys);