Changelog: https://roxy-wi.org/changelog#6_2_0
pull/343/head
Pavel Loginov 2 years ago
parent 573aa893e2
commit 9fdaeb0acf

@ -16,7 +16,7 @@ class SshConnection:
def __enter__(self): def __enter__(self):
try: try:
if self.ssh_enable == 1: if self.ssh_enable == 1:
k = paramiko.RSAKey.from_private_key_file(self.ssh_key_name) k = paramiko.pkey.Pkey.from_private_key_file(self.ssh_key_name)
self.ssh.connect( self.ssh.connect(
hostname=self.server_ip, hostname=self.server_ip,
port=self.ssh_port, port=self.ssh_port,

@ -1,5 +1,5 @@
configparser>=3.5.0 configparser>=3.5.0
paramiko-ng>=2.5.0 paramiko>=2.4.3
pytz>=2017.3 pytz>=2017.3
requests>=2.22.0 requests>=2.22.0
pyTelegramBotAPI>=3.6.3 pyTelegramBotAPI>=3.6.3

Loading…
Cancel
Save