I'm making a thing to detect the online status of machines and retire other status using run.
already know asyncssh will throw ChannelOpenError: SSH connection closed either if disabling target network service or kill the ssh process.
shouldn't throw disconnect for that situation? otherwise when will throw that exactly?
And is there a good way for retry ssh connect with asyncssh, please?
And I did some tests but couldn't figure out what is keepalive_interval for. would you like to share those info in document page?
thanks
I'm making a thing to detect the online status of machines and retire other status using
run.already know asyncssh will throw
ChannelOpenError: SSH connection closedeither if disabling target network service or kill the ssh process.shouldn't throw
disconnectfor that situation? otherwise when will throw that exactly?And is there a good way for retry ssh connect with asyncssh, please?
And I did some tests but couldn't figure out what is
keepalive_intervalfor. would you like to share those info in document page?thanks