AUTH-2018: Adds support for authorized keys and short lived certs

This commit is contained in:
Michael Borkenstein
2019-08-22 11:36:21 -05:00
parent df25ed9bde
commit baec3e289e
16 changed files with 549 additions and 33 deletions

View File

@@ -3,15 +3,17 @@
package sshserver
import (
"errors"
"github.com/sirupsen/logrus"
)
type SSHServer struct{}
func New(_ *logrus.Logger, _ string, _ chan struct{}) (*SSHServer, error) {
return nil, nil
func New(_ *logrus.Logger, _ string, _ chan struct{}, _ bool) (*SSHServer, error) {
return nil, errors.New("cloudflared ssh server is not supported on windows")
}
func (s *SSHServer) Start() error {
return nil
return errors.New("cloudflared ssh server is not supported on windows")
}