user level ssh terminal

This commit is contained in:
usmannasir
2025-05-18 14:59:41 +05:00
parent 796287ed34
commit 065eb370b3
3 changed files with 51 additions and 2 deletions

View File

@@ -885,6 +885,11 @@ local_name %s {
cmd = shlex.split(command)
subprocess.call(cmd)
command = 'systemctl restart fastapi_ssh_server.service'
cmd = shlex.split(command)
subprocess.call(cmd)
print("1,None")
return 1, 'None'