123456789101112131415161718192021222324252627282930 |
- //+build windows
- package sshserver
- import (
- "errors"
- "time"
- "github.com/cloudflare/cloudflared/logger"
- "github.com/cloudflare/cloudflared/sshlog"
- )
- const SSHPreambleLength = 2
- type SSHServer struct{}
- type SSHPreamble struct {
- Destination string
- JWT string
- }
- func New(_ sshlog.Manager, _ logger.Service, _, _, _, _ string, _ chan struct{}, _, _ time.Duration) (*SSHServer, error) {
- return nil, errors.New("cloudflared ssh server is not supported on windows")
- }
- func (s *SSHServer) Start() error {
- return errors.New("cloudflared ssh server is not supported on windows")
- }
|