mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 16:56:09 +01:00
bug fix: adding remote destinations
This commit is contained in:
@@ -963,21 +963,21 @@ class backupUtilities:
|
|||||||
|
|
||||||
except pexpect.TIMEOUT as msg:
|
except pexpect.TIMEOUT as msg:
|
||||||
|
|
||||||
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel')
|
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel.pub')
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
||||||
return [0, "TIMEOUT [sendKey]"]
|
return [0, "TIMEOUT [sendKey]"]
|
||||||
except pexpect.EOF as msg:
|
except pexpect.EOF as msg:
|
||||||
|
|
||||||
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel')
|
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel.pub')
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
||||||
return [0, "EOF [sendKey]"]
|
return [0, "EOF [sendKey]"]
|
||||||
except BaseException as msg:
|
except BaseException as msg:
|
||||||
|
|
||||||
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel')
|
command = 'chmod 644 %s' % ('/root/.ssh/cyberpanel.pub')
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [sendKey]")
|
||||||
|
|||||||
Reference in New Issue
Block a user