mirror of
https://github.com/veops/oneterm.git
synced 2025-10-21 22:39:24 +08:00
fix(api): connectable
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user