Generating a SSH key on Linux
- From the Terminal or Git Bash, run ssh-keygen
- Confirm the default path .ssh/id_rsa
- Enter a passphrase (recommended) or leave it blank.
Remember this passphrase, as you will need it to unlock the key whenever you use it.
- Open ~/.ssh/id_rsa.pub and copy & paste the contents into the box below, then click on "Add".
Note that id_rsa.pub is your public key and can be shared, while id_rsa is your private key and should be kept secret.
- Go to TDS portal and click on your name and then in left menu on SSH and then on Add or change key
- Paste the SSH key and click on the button.
Once you upload an SSH key it will be used on newly created server for authentication.
SSH key must be in the following format: [key-type] [key] [user-identifier]
[key-type] use ssh-rsa
[key] is the public key
[user-identifier] is your email address in format email@example.com
Make sure not to include any between the portions of the inserted text.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.