mirror of https://github.com/Aidaho12/haproxy-wi
parent
c5ea14bb61
commit
7d4478d2e6
|
@ -23,7 +23,8 @@ class SshConnection:
|
||||||
username=self.ssh_user_name,
|
username=self.ssh_user_name,
|
||||||
key_filename=self.ssh_key_name,
|
key_filename=self.ssh_key_name,
|
||||||
timeout=11,
|
timeout=11,
|
||||||
banner_timeout=200
|
banner_timeout=200,
|
||||||
|
look_for_keys=False
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.ssh.connect(
|
self.ssh.connect(
|
||||||
|
@ -32,7 +33,8 @@ class SshConnection:
|
||||||
username=self.ssh_user_name,
|
username=self.ssh_user_name,
|
||||||
password=self.ssh_user_password,
|
password=self.ssh_user_password,
|
||||||
timeout=11,
|
timeout=11,
|
||||||
banner_timeout=200
|
banner_timeout=200,
|
||||||
|
look_for_keys=False
|
||||||
)
|
)
|
||||||
except paramiko.AuthenticationException:
|
except paramiko.AuthenticationException:
|
||||||
raise paramiko.SSHException(f'{self.server_ip} Authentication failed, please verify your credentials')
|
raise paramiko.SSHException(f'{self.server_ip} Authentication failed, please verify your credentials')
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
pyTelegramBotAPI==3.6.3
|
pyTelegramBotAPI==3.6.3
|
||||||
networkx==2.1
|
networkx==2.1
|
||||||
matplotlib==2.1.2
|
matplotlib==2.1.2
|
||||||
paramiko>=3.3.1
|
|
||||||
paramiko-ng>=2.5.0
|
paramiko-ng>=2.5.0
|
||||||
slack-sdk>=3.4.0
|
slack-sdk>=3.4.0
|
||||||
peewee>=3.14.10
|
peewee>=3.14.10
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
configparser==3.5.0
|
configparser==3.5.0
|
||||||
pyTelegramBotAPI==3.6.3
|
pyTelegramBotAPI==3.6.3
|
||||||
paramiko>=3.3.1
|
|
||||||
networkx==2.1
|
networkx==2.1
|
||||||
matplotlib==2.1.2
|
matplotlib==2.1.2
|
||||||
slack-sdk>=3.4.0
|
slack-sdk>=3.4.0
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
configparser>=3.5.0
|
configparser>=3.5.0
|
||||||
pyTelegramBotAPI>=3.6.3
|
pyTelegramBotAPI>=3.6.3
|
||||||
paramiko>=3.3.1
|
|
||||||
networkx>=2.1
|
networkx>=2.1
|
||||||
matplotlib>=2.1.2
|
matplotlib>=2.1.2
|
||||||
slack-sdk>=3.4.0
|
slack-sdk>=3.4.0
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
configparser>=3.5.0
|
configparser>=3.5.0
|
||||||
paramiko>=3.3.1
|
|
||||||
paramiko-ng>=2.5.0
|
paramiko-ng>=2.5.0
|
||||||
pytz>=2017.3
|
pytz>=2017.3
|
||||||
tzlocal==2.0.0
|
tzlocal==2.0.0
|
||||||
|
|
Loading…
Reference in New Issue