Forum Discussion

northisup's avatar
northisup
New Contributor
2 months ago

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

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

  • northisup's avatar
    northisup
    New Contributor

    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!