ssh: return informations to client (#3821)

This commit is contained in:
fatedier authored and GitHub committed 2023-12-01 20:18:13 +08:00
1 parent 6d9e0c20f6
commit 95cf418963
5 files changed
+154 -52

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ func (c *TunnelClient) Start() error {
return err
}
c.ln = l
ch, req, err := conn.OpenChannel("direct", []byte(""))
ch, req, err := conn.OpenChannel("session", []byte(""))
if err != nil {
return err
}