docker-ssh icon indicating copy to clipboard operation
docker-ssh copied to clipboard

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

Open arsalanses opened this issue 4 months ago • 0 comments

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

arsalanses avatar Nov 03 '25 06:11 arsalanses