Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ferama committed Mar 21, 2024
1 parent 72edf9b commit 883460f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sshd/channel_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func newChannelHandler(

}

func (s *channelHandler) handleShellExectRequest(
func (s *channelHandler) handleShellExecRequest(
pty rpty.Pty,
env map[string]string,
channel ssh.Channel,
Expand Down Expand Up @@ -192,7 +192,7 @@ func (s *channelHandler) serveChannelSession(c ssh.NewChannel) {
ok := false
switch req.Type {
case "shell", "exec":
ok = s.handleShellExectRequest(pty, env, channel, req)
ok = s.handleShellExecRequest(pty, env, channel, req)

case "pty-req":
pty, err = s.handlePtyRequest(req)
Expand Down

0 comments on commit 883460f

Please sign in to comment.