mirror of
https://github.com/openwrt-xiaomi/xmir-patcher.git
synced 2026-09-22 22:57:55 +03:00
Fix detection for active SSH-server
This commit is contained in:
+1
-1
@@ -340,7 +340,7 @@ print("")
|
||||
time.sleep(0.5)
|
||||
gw.use_ssh = True
|
||||
gw.passw = 'root'
|
||||
ssh_en = gw.ping(verbose = 0, contimeout = 18) # RSA host key generate slowly!
|
||||
ssh_en = gw.ping(verbose = 0, contimeout = 30) # RSA host key generate slowly!
|
||||
if ssh_en:
|
||||
print('#### SSH server are activated! ####')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user