forked from M-Labs/artiq
remoting: fix multiuser access. Closes #1383
This commit is contained in:
parent
9dc82bd766
commit
307f39e900
@ -7,6 +7,7 @@ import shlex
|
||||
import subprocess
|
||||
import hashlib
|
||||
import random
|
||||
import getpass
|
||||
|
||||
__all__ = ["LocalClient", "SSHClient"]
|
||||
|
||||
@ -62,7 +63,7 @@ class SSHClient(Client):
|
||||
self.jump_host = jump_host
|
||||
self.ssh = None
|
||||
self.sftp = None
|
||||
self._tmpr = "/tmp/artiq"
|
||||
self._tmpr = "/tmp/artiq-" + getpass.getuser()
|
||||
self._tmpl = tempfile.TemporaryDirectory(prefix="artiq")
|
||||
self._cached = []
|
||||
self._downloads = {}
|
||||
|
Loading…
Reference in New Issue
Block a user