ssh-keys

SSH keys are required to push code to Slasha via Git over SSH. Add a key once and you can push to any of your apps without re-authenticating.

slasha ssh-keys list

List all SSH public keys registered to your account. Output columns: ID, TITLE, KEY (truncated), ADDED.

slasha ssh-keys list

slasha ssh-keys add

Add an SSH public key. Provide either a path to a public key file with --file, or pass the raw key string as a positional argument.

# read from the default key file
slasha ssh-keys add --file ~/.ssh/id_ed25519.pub

# read from file with a title
slasha ssh-keys add --file ~/.ssh/id_ed25519.pub --title "work laptop"

# pass the public key string directly
slasha ssh-keys add "ssh-ed25519 AAAA..."
  • --file <PATH> — read the public key from a file
  • --title <TITLE> — optional label for the key
  • <pubkey> — raw public key string (alternative to --file)

slasha ssh-keys remove

Remove an SSH key by its ID. Get the ID from slasha ssh-keys list.

slasha ssh-keys remove <ID>