// Log all authentication attempts func HandleAuthLogCallback(conn ssh.ConnMetadata, method string, err error) { log.Printf("Login attempt for user %s from %s with client %s", conn.User(), conn.RemoteAddr(), string(conn.ClientVersion())) }