Improved admin UI performance

This commit is contained in:
root 2014-11-02 14:39:08 +00:00
parent d116360212
commit 07730799b6
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ def BashSSH(backend, log, server, cmds):
# Copy script to remote server # Copy script to remote server
sftp = paramiko.SFTPClient.from_transport(transport) sftp = paramiko.SFTPClient.from_transport(transport)
sftp.put(path, remote_path) sftp.put(path, remote_path)
sftp.chmod(remote_path, '0600')
sftp.close() sftp.close()
os.remove(path) os.remove(path)