Commit f9d22599 authored by Björn's avatar Björn

adding

parent 77aee333
......@@ -113,6 +113,9 @@ class Storagebox(Config):
self._command("cat " + ssh_file + ".pub >> " + self._homeDir() + "/authorized_keys")
print('Create SSH-Key backup_' + self._namespace + ', ' + 'backup_' + self._namespace + '.pub')
self._command('chmod 0600 ' + self._homeDir() + '/.ssh/backup_' + self._namespace)
self._command('chmod 0600 ' + self._homeDir() + '/.ssh/backup_' + self._namespace + '.pub')
else:
print(colored('SSH-Key already exists!', 'yellow'))
self._clean()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment