AUTH-1943: Adds session logging

This commit is contained in:
Austin Cherry
2019-08-26 15:25:24 -05:00
parent f41121f4e5
commit 5e85a8bd16
5 changed files with 209 additions and 9 deletions

View File

@@ -5,13 +5,15 @@ package sshserver
import (
"errors"
"github.com/sirupsen/logrus"
"time"
"github.com/cloudflare/cloudflared/sshlog"
"github.com/sirupsen/logrus"
)
type SSHServer struct{}
func New(_ *logrus.Logger, _ string, _ chan struct{}, _, _ time.Duration) (*SSHServer, error) {
func New(_ sshlog.Manager, _ *logrus.Logger, _ string, _ chan struct{}, _, _ time.Duration) (*SSHServer, error) {
return nil, errors.New("cloudflared ssh server is not supported on windows")
}