From 504f1d5525c6284d0974c7dc1578bff01a5575be Mon Sep 17 00:00:00 2001 From: JP Sugarbroad Date: Tue, 27 Aug 2013 11:23:31 -0400 Subject: [PATCH] crypto/ssh: Handle msgUserAuthBanner during keyboard-interactive auth. R=agl, golang-dev CC=golang-dev https://golang.org/cl/12983046 --- ssh/client_auth.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssh/client_auth.go b/ssh/client_auth.go index 5282415..5301d49 100644 --- a/ssh/client_auth.go +++ b/ssh/client_auth.go @@ -441,6 +441,9 @@ func (c *keyboardInteractiveAuth) auth(session []byte, user string, t *transport // like handleAuthResponse, but with less options. switch packet[0] { + case msgUserAuthBanner: + // TODO: Print banners during userauth. + continue case msgUserAuthInfoRequest: // OK case msgUserAuthFailure: