Diff
1diff --git a/pkg/ssh/ssh.go b/pkg/ssh/ssh.go
2index bd6dd2cf0cee82618c1d8421ce8e0037f42b0a8f..10d5edee632048c98e83fdfb9609c0426e57f2a0 100644
3--- a/pkg/ssh/ssh.go
4+++ b/pkg/ssh/ssh.go
5@@ -5,7 +5,6 @@ import (
6 "fmt"
7 "net"
8 "os"
9- "runtime"
10 "strconv"
11 "time"
12
13@@ -92,11 +91,10 @@ func NewSSHServer(ctx context.Context) (*SSHServer, error) {
14 wish.WithHostKeyPath(cfg.SSH.KeyPath),
15 wish.WithMiddleware(mw...),
16 }
17- if runtime.GOOS == "windows" {
18- opts = append(opts, ssh.EmulatePty())
19- } else {
20- opts = append(opts, ssh.AllocatePty())
21- }
22+
23+ // TODO: Support a real PTY in future version.
24+ opts = append(opts, ssh.EmulatePty())
25+
26 s.srv, err = wish.NewServer(opts...)
27 if err != nil {
28 return nil, err