Skip to content

Commit

Permalink
[ws-proxy] add missing permission for generated ssh key (#19201)
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot authored Dec 6, 2023
1 parent e4ccbf0 commit 1b74980
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/ws-proxy/pkg/sshproxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,11 @@ func (s *Server) GenerateSSHCert(ctx context.Context, userName string) (ssh.Sign
CertType: ssh.UserCert,
Permissions: ssh.Permissions{
Extensions: map[string]string{
"permit-pty": "",
"permit-user-rc": "",
"permit-X11-forwarding": "",
"permit-pty": "",
"permit-user-rc": "",
"permit-X11-forwarding": "",
"permit-port-forwarding": "",
"permit-agent-forwarding": "",
},
},
Nonce: nonce,
Expand Down

0 comments on commit 1b74980

Please sign in to comment.