Skip to content

Commit

Permalink
added github issue that tracks adding SetDeadline to the ssh channels
Browse files Browse the repository at this point in the history
  • Loading branch information
kt97679 committed Jun 23, 2024
1 parent 4bb77f6 commit 4e3ca62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ossh_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (host *OsshHost) setSSHClient(config *ssh.ClientConfig, socks5ProxyAddr str
// tcp over ssh doesn't support SetDeadline() so far
// https://github.com/golang/crypto/blob/master/ssh/tcpip.go#L486-L509
// so no read/write timeouts via jump host
// related github issue: https://github.com/golang/go/issues/65930
if len(jumpHostAddr) == 0 {
clientConn, chans, reqs, err = ssh.NewClientConn(timeoutConn, addr, config)
} else {
Expand Down

0 comments on commit 4e3ca62

Please sign in to comment.