Generating a SSH Key in a Windows
- Download Putty Key Generator
- Run the program and click on Generate and move your mouse (within the SSH generator window) until key is generated
- Change Key comment to your Tieto email address in format email@example.com
- Optional: fill Key passphrase and confirm passphrase if you need one.
If you skip this step then you need to confirm that you want to save the keys without passphrase in the next steps.
- Save public key as id_rsa.pub
- Save private key as id_rsa.ppk
- From the top menu in Conversions select Export OpenSSH Key and save it as id_rsa
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.
- Copy content of "Public key for pasting into OpenSSH authorized_keys file"
- Go to the Portal and click on you name and then on SSH and then click on Add or change key
- Paste copied key from the step 8. Click on the Save button.
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 firstname.lastname@example.org
Make sure not to include any "ENTER" or SPACE key between the portions of the inserted text.