Improved admin UI performance
This commit is contained in:
parent
d116360212
commit
07730799b6
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue