Skip to main content
Sets up SSH access to your agents’ VMs with murmur setup ssh. It records the public keys of your local SSH key pairs so murmur ssh can connect, and offers to upload them so agents spawned from the dashboard authorize them too. Private keys never leave your machine. If no home or repository configuration exists, the command signs you in, saves your selected tenant under ~/.murmur/, and continues recording SSH keys beside that home configuration. Environment-only identities do not save home configuration. To record credentials locally, set MURMUR_CONFIG to an existing file, or unset MURMUR_IDENTITY_TOKEN and MURMUR_AUTH_METHOD and run murmur login.

Synopsis

This command takes no positional arguments or flags. Use --help for usage.

What it does

  1. Finds your key pairs. Scans ~/.ssh for public keys (*.pub) that have a matching private key.
  2. Offers to generate one when there are none. Choose Generate an ed25519 key now to run ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519, or Skip. Skipping, or a failed ssh-keygen, leaves any keys already recorded in place.
  3. Records the public keys. Sets ssh_public_keys in murmur.local.yaml, next to the murmur.yaml that murmur loads for the current directory, and creates the file if it does not exist. Every other setting in the file is left as it was.
  4. Asks whether to upload them. Upload your SSH public keys so you can SSH into agents spawned from the dashboard? defaults to yes. Yes replaces the SSH keys on your user record and changes nothing else in your profile. The upload uses your existing Murmur sign-in.
The command records the keys locally before uploading them. If the upload fails, the keys are still recorded, so murmur ssh keeps working for agents you spawn from the CLI. Re-run the command to retry the upload.

Where the keys are used

A key change applies to agents spawned afterward. Running agents keep the keys they started with.

Examples

Record existing keys and upload them

Generate a key on a new machine

Press Enter to generate the key, then answer the upload question.

Errors