support proxy banner from upstream (#548)

* remove unused logs

* add banner to server password

* add updated crypto lib

* add test

* refactor: clean up whitespace in banner test

* fix: update test case name to use underscores for consistency
This commit is contained in:
Boshi Lian 2025-03-20 00:55:03 -07:00 committed by GitHub
parent af3d2586cd
commit 3757d80348
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 50 additions and 3 deletions

View file

@ -212,8 +212,6 @@ func (p *SkelPlugin) PublicKeyCallback(conn ConnMetadata, publicKey []byte) (*Up
return false, err
}
log.Debugf("trusted user ca keys: %v", rest)
var trustedca ssh.PublicKey
for len(rest) > 0 {
trustedca, _, _, rest, err = ssh.ParseAuthorizedKey(rest)