asyncssh and openssh on windows loss of return code when connection lost and reconnect

  asyncssh, openssh, windows

i use asyncssh to connect to a remote windows server and in one stage i try to reset network adapter using

Reset-NetAdapterAdvancedProperty

in which it will result in async try to reconnect and when it does connect again i will loss the command return code so i dont actually know if it execute or not (except i know since the connection is lost). i suspect it is something related to the openssh configuration file since i dont face this issue with Linux servers. any one knows what is the issue??

Source: Windows Questions

LEAVE A COMMENT