2019-07-18 21:29:16 +00:00
|
|
|
//+build windows
|
|
|
|
|
|
|
|
package sshserver
|
|
|
|
|
|
|
|
import (
|
2019-08-22 16:36:21 +00:00
|
|
|
"errors"
|
|
|
|
|
2019-08-28 15:48:30 +00:00
|
|
|
"time"
|
2019-08-26 20:25:24 +00:00
|
|
|
|
|
|
|
"github.com/cloudflare/cloudflared/sshlog"
|
|
|
|
"github.com/sirupsen/logrus"
|
2019-07-18 21:29:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type SSHServer struct{}
|
|
|
|
|
2019-09-04 15:37:53 +00:00
|
|
|
func New(_ sshlog.Manager, _ *logrus.Logger, _, _ string, _ chan struct{}, _, _ time.Duration) (*SSHServer, error) {
|
2019-08-22 16:36:21 +00:00
|
|
|
return nil, errors.New("cloudflared ssh server is not supported on windows")
|
2019-07-18 21:29:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *SSHServer) Start() error {
|
2019-08-22 16:36:21 +00:00
|
|
|
return errors.New("cloudflared ssh server is not supported on windows")
|
2019-07-18 21:29:16 +00:00
|
|
|
}
|