-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for ssh_port_forwarding
role option
#50361
Conversation
ssh_port_forwarding: | ||
remote: | ||
enabled: true | ||
local: | ||
enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These RFD edits probably weren't necessary, but I figured it doesn't hurt to keep example configurations accurate
cd4d28b
to
2eacd8c
Compare
2eacd8c
to
f5e80bb
Compare
🤖 Vercel preview here: https://docs-3yd3pybxj-goteleport.vercel.app/docs |
🤖 Vercel preview here: https://docs-ejdwth8s8-goteleport.vercel.app/docs |
# port_forwarding controls whether TCP port forwarding is allowed for SSH | ||
port_forwarding: true | ||
# ssh_port_forwarding controls which TCP port forwarding modes are allowed over SSH. This replaces | ||
# the now deprecated port_forwarding field which did not differentiate between remote and local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# the now deprecated port_forwarding field which did not differentiate between remote and local | |
# the deprecated port_forwarding field, which did not differentiate between remote and local |
- removing "now", since the docs are assumed to be up to date as of the present
- adding a comma before "which"
docs/pages/includes/role-spec.mdx
Outdated
# port_forwarding controls whether TCP port forwarding is allowed for SSH | ||
port_forwarding: true | ||
# ssh_port_forwarding controls which TCP port forwarding modes are allowed over SSH. This replaces | ||
# the now deprecated port_forwarding field which did not differentiate between remote and local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# the now deprecated port_forwarding field which did not differentiate between remote and local | |
# the deprecated port_forwarding field, which did not differentiate between remote and local |
docs/pages/includes/role-spec.mdx
Outdated
# the now deprecated port_forwarding field which did not differentiate between remote and local | ||
# port forwarding modes. If you have any existing roles that allow forwarding by enabling the | ||
# legacy port_forwarding field then the forwarding controls configured in ssh_port_forwarding will be | ||
# effectively ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need "effectively" here? If "effectively ignored" this means the same thing as "ignored", I would remove "effectively" to make this clearer.
f5e80bb
to
3957446
Compare
…orwarding and adding some additional context to the rbac reference
3957446
to
e177ff6
Compare
🤖 Vercel preview here: https://docs-ix45oom5j-goteleport.vercel.app/docs |
🤖 Vercel preview here: https://docs-50seoyr14-goteleport.vercel.app/docs |
…orwarding and adding some additional context to the rbac reference (#50361)
This PR swaps occurrences of
port_forwarding
withssh_port_forwarding
in our guides and references. We don't currently have a section dedicated to port forwarding that I was able to find, so I added some additional context about the legacy field to the rbac/role reference.I'm happy to add a separate paragraph about port forwarding access controls if that would be useful. I found myself essentially rewriting the note included in the rbac/role reference, though, and opted to leave that out for now.