fix(api): connectable

This commit is contained in:
ttk
2024-10-11 18:14:37 +08:00
parent fa719b64fa
commit f17108922b
9 changed files with 105 additions and 77 deletions

View File

@@ -346,7 +346,7 @@ func connectSsh(ctx *gin.Context, sess *gsession.Session, asset *model.Asset, ac
}
}()
ip, port, err := util.Proxy(sess.SessionId, "ssh", asset, gateway)
ip, port, err := util.Proxy(false, sess.SessionId, "ssh", asset, gateway)
if err != nil {
return
}