CLI Reference
vessl ssh-key
Overview
Run vessl ssh-key --help
to view the list of commands, or vessl ssh-key [COMMAND] --help
to view individual command instructions.
Add a SSH public key
vessl ssh-key add [OPTIONS]
Option | Description |
---|---|
—path | SSH public key path |
—name | SSH public key name |
$ vessl ssh-key add
[?] SSH public key path: /Users/johndoe/.ssh/id_ed25519.pub
[?] SSH public key name: john@abcd.com
Successfully added.
List ssh public keys
vessl ssh-key list
$ vessl ssh-key list
NAME FINGERPRINT CREATED
john@abcd.com SHA256:ugLx91zLE9ELAqT19uNjQ 6 hours ago
Delete a ssh public key
vessl ssh-key delete
$ vessl ssh-key delete
[?] Select ssh public key: john@abcd.com / SHA256:ugLx91zLE9ELAqT19uNjQ (created 6 hours ago)
> john@abcd.com / SHA256:ugLx91zLE9ELAqT19uNjQ (created 6 hours ago)
Successfully deleted.
Was this page helpful?