Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: How to handle unexpected authentication requests properly.

$
0
0
I have a situation where executing some commands via ShellStream.WriteLine can result in unexpected authentication requests. I'm trying to figure out how to handle this properly in order to show a password request dialog to the user.

AFAICT, authentication requests are only handled during the time when the connection is established (via one or more AuthenticationMethod passed in ConnectionInfo's authenticationMethods parameter).

So the question is, how do I properly handle these unexpected authentication requests after the connection has already been successfully established?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>