We are using the SCP Client to connect to a remote server and download some files. We noticed the process has been hung for the past 3 weeks at the Download method call. We logged into the remote server and noticed that it took us straight to the 'change your password' process.
Is there a way I can detect this situation via SSH.NET prior to attempting to download files? Is there some kind of login object or method I can use which will let me know if I have full access to the account or if we are in some faulty state (like password change)?
Thanks for any guidance.
Karl
Is there a way I can detect this situation via SSH.NET prior to attempting to download files? Is there some kind of login object or method I can use which will let me know if I have full access to the account or if we are in some faulty state (like password change)?
Thanks for any guidance.
Karl