parent
99adaa2002
commit
4a2ad9c5c1
|
@ -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
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
IPlocal=SERVERIP
|
||||
IPcore=OGCOREIP
|
||||
ApiToken=REPOKEY
|
||||
|
|
Loading…
Reference in New Issue