ssh: return informations to client (#3821)

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

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
}