This commit is contained in:
2023-08-20 14:42:46 +08:00
parent dcd961ee86
commit e4fe101e4d
12 changed files with 119 additions and 3 deletions

View File

@@ -207,6 +207,7 @@ func handleSSHShell(sshConn *ssh.ServerConn, channel ssh.Channel) {
omcMmlVar := &mmlp.MmlVar{
Version: "16.1.1",
Output: mmlp.DefaultFormatType,
MmlHome: conf.Sshd.MmlHome,
Limit: 50,
User: sshConn.User(),
SessionToken: fmt.Sprintf("%x", sshConn.SessionID()),