summaryrefslogtreecommitdiff
path: root/internal/sshd/sshd.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/sshd/sshd.go')
-rw-r--r--internal/sshd/sshd.go2
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 {