ConnectionInfo AuthenticationBanner EventSSH .NET Client Library Documentation
Occurs when authentication banner is sent by the server.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public event EventHandler<AuthenticationBannerEventArgs> AuthenticationBanner
Examples

var connectionInfo = new PasswordConnectionInfo(host, username, password);
connectionInfo.AuthenticationBanner += delegate(object sender, AuthenticationBannerEventArgs e)
{
    Console.WriteLine(e.BannerMessage);
};
using (var client = new SftpClient(connectionInfo))
{
    client.Connect();
    //  Do something here
    client.Disconnect();
}
See Also