Skip to content

Commit d78ba7f

Browse files
committed
Add missing save file
1 parent 296fd7a commit d78ba7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/sshd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func acceptConn(c net.Conn, config *ssh.ServerConfig, timeout int, dataDir strin
331331
// channel type of "session" or "direct-tcpip"
332332
go func() {
333333
err = internal.RegisterChannelCallbacks(user, chans, clientLog, map[string]internal.ChannelHandler{
334-
"session": handlers.Session,
334+
"session": handlers.Session(dataDir),
335335
"direct-tcpip": handlers.LocalForward,
336336
})
337337
clientLog.Info("User disconnected: %s", err.Error())

0 commit comments

Comments
 (0)