Skip to content

Commit e45670c

Browse files
authored
fix(ssh): timeout stalled ssh connections after 15-30s (#64)
1 parent 5f04669 commit e45670c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/wush/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func sshCmd() *serpent.Command {
8686
}
8787
}
8888

89-
return xssh.TailnetSSH(ctx, inv, ts, ip.String()+":3", quiet)
89+
return xssh.TailnetSSH(ctx, inv, ts, netip.AddrPortFrom(ip, 3).String(), quiet)
9090
},
9191
Options: []serpent.Option{
9292
{

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/coder/wush
22

33
go 1.22.6
44

5-
replace tailscale.com => github.com/coadler/tailscale v1.1.1-0.20240926000438-059d0c1039af
5+
replace tailscale.com => github.com/coadler/tailscale v1.1.1-0.20241018213052-0d22086da1b2
66

77
// replace tailscale.com => /home/colin/Projects/coadler/tailscale
88

@@ -34,7 +34,7 @@ require (
3434
golang.org/x/sys v0.26.0
3535
golang.org/x/term v0.25.0
3636
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da
37-
tailscale.com v1.70.0
37+
tailscale.com v1.76.1
3838
)
3939

4040
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ github.com/cilium/ebpf v0.15.0 h1:7NxJhNiBT3NG8pZJ3c+yfrVdHY8ScgKD27sScgjLMMk=
145145
github.com/cilium/ebpf v0.15.0/go.mod h1:DHp1WyrLeiBh19Cf/tfiSMhqheEiK8fXFZ4No0P1Hso=
146146
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
147147
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
148-
github.com/coadler/tailscale v1.1.1-0.20240926000438-059d0c1039af h1:7h0hQxaizCT3u7Fu9b6k1NgGj4EHxx/K3H7YBAFanVE=
149-
github.com/coadler/tailscale v1.1.1-0.20240926000438-059d0c1039af/go.mod h1:rRq+xvgprFys8sZbJgcAMMqpiP6r+Y75CJRhCRmXrd0=
148+
github.com/coadler/tailscale v1.1.1-0.20241018213052-0d22086da1b2 h1:tPtLbP7XIycbAaHUW78XWWhnnGOe+/ejL7tT5wVfH50=
149+
github.com/coadler/tailscale v1.1.1-0.20241018213052-0d22086da1b2/go.mod h1:rRq+xvgprFys8sZbJgcAMMqpiP6r+Y75CJRhCRmXrd0=
150150
github.com/coder/coder/v2 v2.16.0 h1:+IzbcLU7YFUp6knJJhS4xw8yphuqrIUKt7mIk7LwUQA=
151151
github.com/coder/coder/v2 v2.16.0/go.mod h1:/kiN4IfNwd5T7xGEyVbp7jiNOVaHtdiIDyLqN9OqboE=
152152
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 h1:3A0ES21Ke+FxEM8CXx9n47SZOKOpgSE1bbJzlE4qPVs=

0 commit comments

Comments
 (0)