https://github.com/mattstein/alfred-copy-ssh-workflow
Copy a public SSH key to the clipboard.
https://github.com/mattstein/alfred-copy-ssh-workflow
alfred-workflow ssh
Last synced: 3 months ago
JSON representation
Copy a public SSH key to the clipboard.
- Host: GitHub
- URL: https://github.com/mattstein/alfred-copy-ssh-workflow
- Owner: mattstein
- License: mit
- Created: 2024-09-15T20:24:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T20:27:50.000Z (3 months ago)
- Last Synced: 2025-04-11T18:16:50.333Z (3 months ago)
- Topics: alfred-workflow, ssh
- Language: PHP
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Copy Public SSH Key Alfred Workflow
This Alfred workflow lists your public SSH keys so you can quickly copy one to your clipboard for that thing you’re doing.

Screenshot using the dark variant of my [custom theme](https://github.com/mattstein/alfred-theme).
## Installation
Download the `.alfredworkflow` file from the [latest release](https://github.com/mattstein/alfred-copy-ssh-workflow/releases) and double-click to install.
## Configuring
You shouldn’t need to configure anything unless you have a custom key directory or files you’d like to ignore.
Set optional environment from the **Workflows** settings, **Copy Public SSH Key**, then **[x]** at the top right, and finally the **Environment Variables** tab.
| Variable | Default | Required? | Note |
|---------------------| --- | --- | --- |
| `KEY_DIR` | `~/.ssh` | ❌ | |
| `IGNORE` | `.,..,.DS_Store,authorized_keys,config,known_hosts` | ❌ | Comma-separated list of files that should not be included in options. |## Usage
Use the Alfred trigger `copyssh` to list your public keys. You can keep typing an argument to narrow the results.
Press return to copy the selected public key to your clipboard.