Skip to main content
December 15, 2025
Question

op create failing with `--category ssh` and `--url options`

  • December 15, 2025
  • 1 reply
  • 33 views

in a script I have the following:

op item create --category ssh --title "$CONFIG_HOSTNAME" --ssh-generate-key ed25519 --url "ssh://$CONFIG_USER@$CONFIG_HOSTNAME"

super cool right? its creating ssh keys and auto adding the url so they will show up in my team's ssh agents! unfortunately the url field is blocked for the ssh category:

[ERROR] 2025/12/15 12:31:34 You can only set URL fields for Login, Password, and API Credential items.

P.S. It would be super cool if there was a GitHub project for `op` bugs

1 reply

northisupAuthor
December 15, 2025

this forum software also gave me multiple "bad html errors" when trying to paste in my shell script snippet. so I'm doubling my plea for a GitHub project for bug reports. thanks!