Generating an SSH public key | Cloud Platform (2024)

Before you can either connect to your Git code repository or use SSH to sign in to your web infrastructure, you must have an SSH private/public key pair. Use the information on this page to help you create a key pair for your use.

Public key requirements

Cloud Platform requires that your SSH public key is at least 4,096 bits in size.

All websites requiring Payment Card Industry Data Security Standard (PCI DSS) compliance must be in an Acquia PCI DSS-compliant product offering. To meet PCI DSS requirements, all users must use multi-factor authentication for remote access to their PCI DSS environment. When you connect to a Cloud Platform environment using SSH, you use your SSH key as one authentication factor. To provide a second authentication factor, you must use a passphrase with your SSH key, which you can add when you create your SSH key pair. For more information about PCI compliance with Cloud Platform, see Compliance with standards and regulations.

Creating a private/public key pair

To generate an SSH private/public key pair for your use, you can use the ssh-keygen command-line utility.

You can run the ssh-keygen command from the command line to generate an SSH private/public key pair.

Note for Windows users

Note for Windows users

If you are using Windows, by default you may not have access to the ssh-keygen command. To use this command, install and use one of the following options, based on your Windows version:

To generate an SSH private/public key pair using the ssh-keygen command and then copy the public key to your clipboard for use:

  1. On your local computer, open a command-prompt window.
  2. Ensure you do not already have a public key saved to your computer. To determine if you already have a saved public key run the following command:

    cd ~/.ssh; ls -l

    If the directory and key file exist, run the following commands to back up the key id_rsa, as the procedure will overwrite any key named id_rsa in this directory:

  3. Run the following command to generate a new public/private key pair:

    ssh-keygen -b 4096

Note

Note

If you are generating this key pair for Pipelines, you might need to use the ssh-keygen command found in the workaround of this known issue.

The ssh-keygen command prompts you for the directory to contain the key.

Generating public/private rsa key pair. Enter file in which tosave the key (/Users/[user_dir]/.ssh/id_rsa):

  1. Press Enter to accept the default location of /.ssh/id_rsa in your user directory.

    Enter passphrase (empty for no passphrase): [passphrase] Enter samepassphrase again: [passphrase]

  2. Substitute [passphrase] with your own unique, but memorable, text to encrypt the private key on your computer. Although you can use an empty passphrase, if you do, another user can impersonate you with only a copy of your key file (as there will be no required passphrase for additional confirmation of your identity).

Important

Important

Be sure to keep track of the passphrase, because you must enter the passphrase whenever you use the key.

The ssh-keygen command displays the following output message:

Generating public/private rsa key pair. Your identification has been savedin /Users/[user_dir]/.ssh/id_rsa. Your public key has been saved in/Users/[user_dir]/.ssh/id_rsa.pub. The key fingerprint is:52:96:e9:c8:06:c2:57:26:6d:ef:2f:0c:d9:81:f4:1c username@hostname

  1. Copy the public key to your clipboard using a method available to your operating system:
    • macOS: Run the following command to copy the key from the id_rsa.pub file to your clipboard:

      pbcopy < ~/.ssh/id_rsa.pub
    • Any operating system: Using your text editor of choice, open the ~/.ssh/id_rsa.pub file, and then copy the contents of the file manually.

Note

Note

Copy the key without adding newlines or whitespace. Additional whitespace in the key can cause Cloud Platform to not recognize the key, which can then require you to complete the key creation process again.

After you generate your key pair, you can add your new public key to your Acquia user profile in Cloud Platform.

Getting started with SSH

Generating an SSH public key | Cloud Platform (2024)
Top Articles
Passive transport
Can You Pay Mortgage With Credit Card? - LendToday.ca
Why Are Fuel Leaks A Problem Aceable
Tlc Africa Deaths 2021
The 10 Best Restaurants In Freiburg Germany
DL1678 (DAL1678) Delta Historial y rastreo de vuelos - FlightAware
Merlot Aero Crew Portal
Apply A Mudpack Crossword
Garrick Joker'' Hastings Sentenced
Camstreams Download
Daniela Antury Telegram
Osrs Blessed Axe
Inside California's brutal underground market for puppies: Neglected dogs, deceived owners, big profits
Nashville Predators Wiki
Diablo 3 Metascore
How Much Is Tj Maxx Starting Pay
Where does insurance expense go in accounting?
Animal Eye Clinic Huntersville Nc
Minecraft Jar Google Drive
Enterprise Car Sales Jacksonville Used Cars
Gino Jennings Live Stream Today
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Best Uf Sororities
Today Was A Good Day With Lyrics
Encore Atlanta Cheer Competition
All Breed Database
Two Babies One Fox Full Comic Pdf
Red8 Data Entry Job
Craigslist Roseburg Oregon Free Stuff
Restored Republic June 16 2023
Amerisourcebergen Thoughtspot 2023
HP PARTSURFER - spare part search portal
Ts Modesto
Best Restaurants Ventnor
Babydepot Registry
Sinai Sdn 2023
My Dog Ate A 5Mg Flexeril
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Rock Salt Font Free by Sideshow » Font Squirrel
Flashscore.com Live Football Scores Livescore
Domina Scarlett Ct
Delaware judge sets Twitter, Elon Musk trial for October
Timberwolves Point Guard History
2700 Yen To Usd
Clima De 10 Días Para 60120
Craigs List Hartford
All Characters in Omega Strikers
Mother Cabrini, the First American Saint of the Catholic Church
Great Clips Virginia Center Commons
Solving Quadratics All Methods Worksheet Answers
Vcuapi
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6097

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.