Closed andrewvh4 closed 1 year ago
ssh connect hangs if the device cannot be found:
https://github.com/LangenGroup/RedPitayaSTCL/blob/f5bec44b9492a81275b989f265fa5b672dc28a1e/communication.py#L192C1-L192C1
Steps to reproduce:
print("Pre Connect") ssh.connect(hostname, port = 22, username='root', password = 'root') print("Post Connect")
I received the following terminal output
/home/andrew/miniconda3/envs/STCL/lib/python3.10/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Pre Connect
The program then freezes.
Added a timeout to fix this.
ssh connect hangs if the device cannot be found:
https://github.com/LangenGroup/RedPitayaSTCL/blob/f5bec44b9492a81275b989f265fa5b672dc28a1e/communication.py#L192C1-L192C1
Steps to reproduce:
I received the following terminal output
The program then freezes.