add allowed users setting for current students, replace all user stuff with user dict, add beginning of vnc cleanup

This commit is contained in:
Jordan Rodgers 2018-02-14 00:57:28 -05:00
parent 6d71f49a7a
commit 7aadd423e7
10 changed files with 195 additions and 97 deletions

View file

@ -60,6 +60,10 @@ def add_vnc_target(port):
return token
def clear_vnc_targets():
open(app.config['WEBSOCKIFY_TARGET_FILE'], 'w').close()
def start_ssh_tunnel(node, port):
port = int(port)
server = SSHTunnelForwarder(