mirror of
https://github.com/nwtgck/handy-sshd.git
synced 2025-06-07 14:43:05 +00:00
19 lines
397 B
Go
19 lines
397 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package handy_sshd
|
|
|
|
import (
|
|
"fmt"
|
|
"golang.org/x/crypto/ssh"
|
|
"os"
|
|
)
|
|
|
|
func (s *Server) createPty(shell string, connection ssh.Channel) (*os.File, error) {
|
|
return nil, fmt.Errorf("creation of pty unsupported")
|
|
}
|
|
|
|
// setWinsize sets the size of the given pty.
|
|
func setWinsize(t *os.File, w, h uint32) error {
|
|
return fmt.Errorf("set-win-size unsupported")
|
|
}
|