sshsysmon icon indicating copy to clipboard operation
sshsysmon copied to clipboard

Paramiko seems causing problem

Open cloudliu01 opened this issue 5 years ago • 1 comments

with the default packages included in requirements.txt, I got error below: INFO:root:Checking server: localhost... INFO:root:Checking server: host1.com... ERROR:root:Error loading module: invalid syntax (sftp_file.py, line 66) ERROR:root:Error checking server host1.com: Error loading module: invalid syntax (sftp_file.py, line 66) There were 0 alert(s) triggered

According to this link, I need to upgrade paramiko. Then I did: >pip install -U paramiko Installing collected packages: paramiko Attempting uninstall: paramiko Found existing installation: paramiko 1.16.0 Uninstalling paramiko-1.16.0: Successfully uninstalled paramiko-1.16.0 Successfully installed paramiko-2.7.2

Then everything seems fine. So I think the requirements.txt might need to be updated to reflect this.

Thanks Cloud

cloudliu01 avatar Apr 25 '21 10:04 cloudliu01

Thanks for raising this. Sshsysmon hasn't been maintained in a while. If you're able to fill a PR and test that everything works as expected, I will happily merge.

Best

zix99 avatar Apr 30 '21 01:04 zix99