Generate and Add SSH Keys Doc Update #9138
Labels
Process: SME Wanted
Issues/PRs that benefit SME. Set a date to proceed if SME input does not come
Topic: Security
Type: New Content
Request for or PR containing new content to existing page
Re: Generate and Add SSH Keys
Priority: High
Issue Description: Hard to follow and usually not working for our customers.
Suggested Resolution
This is for Windows users:
Recommend installing Git Bash into their Local Windows Device: https://git-scm.com/download/win
Once done, follow the commands in Mac/Linux: https://docs.pantheon.io/ssh-keys#macoslinux
Install and run git bash and follow:
MacOS/Linux
Open your terminal and enter the following command to generate a key:
ssh-keygen -t rsa
Please do not edit the default location of ~/.ssh/id_rsa unless you have a reason to change it. If the command says the key already exists, you can overwrite it, or continue to the next step with your existing key.
Set a passphrase for better security.
We recommend using a passphrase, but it can conflict with some tools.
Copy the contents of
~/.ssh/id_rsa.pub
to your clipboard after the files are created.MacOS users can cat the file to the terminal and copy the output:
cat ~/.ssh/id_rsa.pub
Run eval to start the SSH agent. The Agent pid output confirms that the agent started:
Example:
Run
ssh-keygen -lf ~/.ssh/id_rsa.pub -E md5
to check if the hash you have in your Pantheon User Dashboard's SSH Keys matches.You are now set.
The text was updated successfully, but these errors were encountered: