원클릭으로
ssh-key-management
Use when adding, listing, or deleting SSH keys for Acquia Cloud access, or when SSH access is denied due to missing keys.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when adding, listing, or deleting SSH keys for Acquia Cloud access, or when SSH access is denied due to missing keys.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when user asks about updating outdated Drupal packages, upgrading Drupal core minor or patch versions, updating contrib modules, or resolving composer version conflicts.
Use when user asks about fixing security vulnerabilities, composer audit failures, vulnerable Drupal packages, or CVE advisories in a Drupal codebase.
Use when user wants to update Drupal dependencies and deploy the changes to an Acquia environment, optionally triggering a pipeline build. Chains drupal-maintenance, acli, and pipelines-cli skills.
Use when listing Acquia Cloud applications, linking or unlinking a local repo to an application, opening an app in browser, checking VCS/branch deployment status, or exporting a site archive.
Use when setting up a new Code Studio (GitLab CI/CD) project, changing PHP version in Code Studio builds. NOT for checking pipeline job status — use pipelines-cli-pipeline-operations for that.
Use when listing, creating, deleting, or mirroring Cloud environments, managing CDEs, deploying code to an environment, or checking environment status.
| name | ssh-key-management |
| description | Use when adding, listing, or deleting SSH keys for Acquia Cloud access, or when SSH access is denied due to missing keys. |
| license | Proprietary |
| compatibility | acli>=2.x |
| metadata | {"category":"authentication","author":"Acquia","version":"1.0.0","tags":"acli, acquia-cloud, ssh, keys, authentication","software_requirements":"acli>=2.x"} |
Use when:
SSH keys provide secure authentication to Acquia Cloud resources without needing to enter passwords.
SSH keys allow you to:
acli ssh-key:list
Output:
SSH Keys for your account:
[0] My Laptop (generated 2024-01-15)
Fingerprint: ab:cd:ef:12:34:56:78:90
[1] Work Desktop (generated 2024-02-01)
Fingerprint: 11:22:33:44:55:66:77:88
acli ide:ssh-key:list
acli ssh-key:create
This will:
~/.ssh/id_rsa)Example:
$ acli ssh-key:create
? Enter a label for this SSH key: My Laptop
✓ SSH key created!
Public key added to your account.
Private key saved to: ~/.ssh/id_rsa
Fingerprint: ab:cd:ef:12:34:56:78:90
Note: The label prompt is the last step before the key is generated and permanently added to your Acquia account. Confirm your label is correct before pressing Enter.
If you already have an SSH key, upload it without regenerating:
acli ssh-key:upload --filepath ~/.ssh/id_rsa.pub --label "Existing Key"
Or interactively:
acli ssh-key:upload
Prompts you to select the key file and enter a label.
By default, acli waits for the key to propagate to all servers. Skip this with:
acli ssh-key:upload --filepath ~/.ssh/id_rsa.pub --label "My Key" --no-wait
Generate a new key locally and upload it to Cloud Platform in a single command:
acli ssh-key:create-upload
Options:
acli ssh-key:create-upload \
--filename=my_key \
--password="" \
--label="My New Key" \
--no-wait
Get details about a specific key by fingerprint:
acli ssh-key:info --fingerprint="ab:cd:ef:12:34:56:78:90"
Useful for confirming which key is registered before deleting.
acli ssh-key:delete
Prompts which key to delete:
? Select the SSH key to delete: [0] My Laptop
? Delete "My Laptop"? (yes/no)
✓ SSH key deleted.
acli ssh-key:delete --public-key "ab:cd:ef:12:34:56:78:90"
Once you have an SSH key set up, you can connect to your IDE:
# Note: Use the IDE ides-hostname, not the web URL
ssh -i ~/.ssh/id_rsa user@ide-12345.ides.acquia.com
Instead of using HTTPS (which requires password authentication), use SSH:
# Configure your IDE's Git to use SSH
git remote set-url origin git@github.com:yourorg/yourrepo.git
# Now push without entering a password
git push origin main
# Show your public key
cat ~/.ssh/id_rsa.pub
# Copy it to GitLab, GitHub, internal systems, etc.
Create separate keys for each machine:
# Personal laptop
acli ssh-key:create --label "Personal MacBook"
# Work desktop
acli ssh-key:create --label "Work Desktop"
# CI/CD server
acli ssh-key:create --label "Jenkins CI Server"
# ✓ Good
acli ssh-key:create --label "2024 MacBook Pro - Home"
acli ssh-key:create --label "GitHub Actions CI"
# ✗ Bad
acli ssh-key:create --label "Key 1"
Remove keys you no longer use:
acli ssh-key:delete
# Permissions should be 600 (read/write for owner only)
chmod 600 ~/.ssh/id_rsa
macOS:
# Add to ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
Linux:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
acli ssh-key:create --label "GitHub Actions CI"
Then:
GitHub Actions example:
- name: Deploy to Acquia
uses: actions/checkout@v2
env:
SSH_KEY: ${{ secrets.ACQUIA_SSH_KEY }}
run: |
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
acli api:environments:code-switch <env-id> main