Skip to content

Suggest no-pty restriction to authorized SSH keys for improved security #13

Description

@arsalanses

It would be beneficial to automatically prefix each SSH public key with restrictive option like no-pty.

Update the entrypoint or key generation logic to wrap each key in AUTHORIZED_KEYS with secure defaults, for example:

no-pty ssh-ed25519 AAA... user-a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions