diff options
author | Nick Thomas <nick@gitlab.com> | 2021-03-13 01:19:20 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-03-16 22:27:31 +0000 |
commit | 05635a49530760e79b4a5aca2a8b96aca8c11440 (patch) | |
tree | f00ed19dc9b0ca75bf83fd6d30aa8cc32e33299d /internal | |
parent | dff2209698bea83dc4ef0b31c3887be7efd34166 (diff) | |
download | gitlab-shell-500-gitlab-sshd-acceptance-tests.tar.gz |
gitlab-sshd: Acceptance test for the discover command500-gitlab-sshd-acceptance-tests
With this, we can start to build confidence in making changes to
gitlab-sshd.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/sshd/sshd.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/sshd/sshd.go b/internal/sshd/sshd.go index 74b4bf4..8775e35 100644 --- a/internal/sshd/sshd.go +++ b/internal/sshd/sshd.go @@ -73,6 +73,8 @@ func Run(cfg *config.Config) error { return fmt.Errorf("failed to listen for connection: %w", err) } + log.Infof("Listening on %v", sshListener.Addr().String()) + config := &ssh.ServerConfig{ PublicKeyCallback: func(conn ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) { if conn.User() != cfg.User { |