refs #631 - API improvement and 'ogAdmRepo.cfg.tmpl' edition

pull/6/head 0.5.2
Gerardo GIl Elizeire 2024-11-18 11:09:18 +01:00
parent 99adaa2002
commit 4a2ad9c5c1
2 changed files with 5 additions and 0 deletions

View File

@ -164,6 +164,10 @@ def check_remote_connection(remote_ip, remote_user):
# Iniciamos un cliente SFTP:
sftp_client = ssh_client.open_sftp()
# Cerramos el cliente SSH y el cliente SFTP:
ssh_client.close()
sftp_client.close()
# Retornamos "True", porque hemos conseguido conectar:
return True

View File

@ -1,2 +1,3 @@
IPlocal=SERVERIP
IPcore=OGCOREIP
ApiToken=REPOKEY