Logo Knowledge
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  1. Acquia Support Knowledge Base
  2. How-To
  3. Tips & Tricks

Using multiple SSH keys.

    See more
    • Updated
    • October 27, 2020 22:12

    You have three options when it comes to using or adding an additional key.

    • First option is to update your SSH local config file to include any additional keys with an updated IdentifyFile of /path/to/private.key
       
    • Second, is to specify the identify file to use for that one connection.

      Example: ssh -i /path/to/private.key
       
    • Third, you can hold this new key open with an agent by adding an identify to ssh-agent.  This way when ssh attempts to connect, it will try all keys loading into your agent.

      Example: ssh-add /path/to/private.key

    Acquia Products

    • Acquia Cloud
    Avatar
    Ally Gonthier
    • October 27, 2020 22:12
    • Updated
    • Facebook
    • Twitter
    • LinkedIn

    Was this article helpful?
    0 out of 5 found this helpful

    Return to top

    Related articles

    • Troubleshooting "Permission denied (publickey)" SSH errors
    • Configuring Acquia BLT with Lando
    • How to SSH in your different web servers
    • Creating releases and deploying code on Acquia Cloud
    • Troubleshooting a "Port 33067 didn't open" error in Dev Desktop

    Support

    Acquia Support Knowledge Base
    • Submit a Request
    • Contact Support
    • Acquia Support Guide
    • Product Documentation
    • System Status

    About Acquia

    • About Us
    • Leadership
    • Board of directors
    • Newsroom
    • Careers
    • Customers
    • Contact Us
    53 State Street, 10th Floor
    Boston, MA 02109
    United States
    Phone: 888-922-7842
    Map: Google Maps
    View other locations
    • Feeds
    • Legal
    • Security Issue?

    Copyright © 2018 Acquia Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.