Skip to content

How to set the SSH user certificate duration #1118

Answered by tashian
jodygilbert asked this question in General
Discussion options

You must be logged in to vote

That's odd.
Changing the default and max user SSH cert duration should work.
Under the OIDC provisioner's claims property, the defaults are:

      "minHostSSHCertDuration": "5m",
      "maxHostSSHCertDuration": "1680h",
      "defaultHostSSHCertDuration": "720h",
      "minUserSSHCertDuration": "5m",
      "maxUserSSHCertDuration": "24h",
      "defaultUserSSHCertDuration": "16h",

Note that there can be a claims block on the authority, and on each individual provisioner, and the provisioner's claims block will override the authority's claims block.

If you're still having trouble, could you post a bit more detail on your current configuration?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maraino
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants