ltd-beget/openssh-key

Parse ssh keys in OpenSSH format

v1.2.0 2025-05-28 13:34 UTC

This package is auto-updated.

Last update: 2025-05-28 13:45:57 UTC


README

PHP library for parsing and manipulating ssh keys in OpenSSH format.

Features

  • Parsing authorized public key from text:
    • OpenSSH authorized key options as described in sshd(8)
    • Public key type
    • Comment
  • Changing options/public key/comment independently
  • Basic key validation

Currently not supported

  • Private keys parsing/manipulation