Hi
a new log
10:07:07 SSH: Add Host: 192.168.1.254
10:07:07 SSH: Add Host: 192.168.1.254
10:07:07 SSH: Host "Router" found on the network, trying to connect to 192.168.1.254:22...
10:07:11 Channel closed.
10:07:11 SSH: Failed to connect to 192.168.1.254:22
10:07:14 SSH: Host "Router" found on the network, trying to connect to 192.168.1.254:22...
10:07:14 ERROR:paramiko.transport:Exception: Error reading SSH protocol banner
10:07:14 ERROR:paramiko.transport:Traceback (most recent call last):
10:07:14 ERROR:paramiko.transport: File "C:\Program Files (x86)\EventGhost\lib26\site-packages\paramiko\transport.py", line 1582, in run
10:07:14 ERROR:paramiko.transport: self._check_banner()
10:07:14 ERROR:paramiko.transport: File "C:\Program Files (x86)\EventGhost\lib26\site-packages\paramiko\transport.py", line 1709, in _check_banner
10:07:14 ERROR:paramiko.transport: raise SSHException('Error reading SSH protocol banner' + str(e))
10:07:14 ERROR:paramiko.transport:SSHException: Error reading SSH protocol banner
10:07:14 ERROR:paramiko.transport:
10:07:14 Error reading SSH protocol banner
10:07:14 SSH: Failed to connect to 192.168.1.254:22
10:07:17 SSH: Host "Router" found on the network, trying to connect to 192.168.1.254:22...
10:07:20 Channel closed.
10:07:20 SSH: Failed to connect to 192.168.1.254:22
10:07:23 SSH: Host "Router" found on the network, trying to connect to 192.168.1.254:22...
10:07:24 ERROR:paramiko.transport:Exception: Error reading SSH protocol banner
10:07:24 ERROR:paramiko.transport:Traceback (most recent call last):
10:07:24 ERROR:paramiko.transport: File "C:\Program Files (x86)\EventGhost\lib26\site-packages\paramiko\transport.py", line 1582, in run
10:07:24 ERROR:paramiko.transport: self._check_banner()
10:07:24 ERROR:paramiko.transport: File "C:\Program Files (x86)\EventGhost\lib26\site-packages\paramiko\transport.py", line 1709, in _check_banner
10:07:24 ERROR:paramiko.transport: raise SSHException('Error reading SSH protocol banner' + str(e))
10:07:24 ERROR:paramiko.transport:SSHException: Error reading SSH protocol banner
10:07:24 ERROR:paramiko.transport:
10:07:24 Error reading SSH protocol banner
10:07:24 SSH: Failed to connect to 192.168.1.254:22
I think there are two issues here,
- The plugin would benefit from a setting to restrict the number of re-tries, so that it doesnt get caught in a continuous loop, it if it returns a trigger as and error the user can create their own retry if they want
- The draytek seems to support a weird level of SSH where in it doesnt like you to create a pseudo-terminal when you log in (I think!)
http://stackoverflow.com/questions/3196 ... g-paramiko The first answer of this suggests adding get_pty=False to the exec_command
Maybe this is too much as its just me that is after it, I can maybe find a way to do it via telnet instead.
thanks for your help!