As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 6adde7e0 authored by Igor Drozdov's avatar Igor Drozdov
Browse files

Merge branch '641-log-public-key-authentication-type' into 'main'

parents e75606d0 65d7b672
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -235,6 +235,8 @@ func (s *serverConfig) get(ctx context.Context) *ssh.ServerConfig {
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
defer cancel()
log.WithContextFields(ctx, log.Fields{"ssh_key_type": key.Type()}).Info("public key authentication")
cert, ok := key.(*ssh.Certificate)
if ok {
return s.handleUserCertificate(ctx, conn.User(), cert)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment