Usman Nasir 2020-11-29 13:01:42 +05:00
parent 0e99dd9449
commit 0d22fb6dea
1 changed files with 3 additions and 0 deletions

View File

@ -4340,6 +4340,9 @@ StrictHostKeyChecking no
command = 'mkdir -p /home/%s/.ssh/' % (domain)
ProcessUtilities.executioner(command)
command = 'chown %s:%s /home/%s/.ssh/' % (website.externalApp, website.externalApp, domain)
ProcessUtilities.executioner(command)
tempPath = "/home/cyberpanel/" + str(randint(1000, 9999))
writeToFile = open(tempPath, "w")