You've already forked haproxy-wi
mirror of
https://github.com/roxy-wi/roxy-wi.git
synced 2025-12-18 12:04:07 +08:00
v2.6
Each server has its own creds!
This commit is contained in:
@@ -27,7 +27,9 @@ if form.getvalue('getcert') is not None and serv is not None:
|
||||
print('<div class="alert alert-danger" style="margin:0">Can not connect to the server</div>')
|
||||
|
||||
if form.getvalue('ssh_cert'):
|
||||
ssh_keys = funct.get_config_var('ssh', 'ssh_keys')
|
||||
fullpath = funct.get_config_var('main', 'fullpath')
|
||||
name = form.getvalue('name')
|
||||
ssh_keys = fullpath+'/keys/'+name+'.pem'
|
||||
|
||||
try:
|
||||
with open(ssh_keys, "w") as conf:
|
||||
|
||||
Reference in New Issue
Block a user