How to Generate and Add Public Keys in ACC?
Last updated
Was this helpful?
Last updated
Was this helpful?
SSH (Secure Shell) serves as a secure means for computers to communicate with each other. It establishes a protected connection over the internet, encrypting the data exchanged between your computer and another computer, ensuring its confidentiality.
In the realm of public-key cryptography, data encryption and decryption are facilitated using a key pair. One of the keys, known as the public key, is shared with others to encrypt data. The other key, the private key, is kept confidential and solely utilized by the owner to decrypt the data. This cryptographic approach ensures secure and private communication between parties involved.
To generate a new RSA key pair, follow these steps:
Open a terminal or command prompt and run the following command:
ssh-keygen -o -t rsa -C "[your@email.com](mailto:your@email.com)"
During the installation process, the location where the key is to be inserted needs to be selected. The default value can be accepted by pressing the Enter key.
Enter file in which to save the key (/Users/username/.ssh/id_rsa):
In the next step, users have the option to assign a password to their key. If they prefer not to set a password, they can press Enter key to skip this step.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
After configuring the key, the subsequent screen will appear:
Identification has been saved in /Users/username/.ssh/id_rsa.
Public key has been saved in /Users/username/.ssh/id_rsa.pub.
The key fingerprint is:
01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db your@email.com
The key's randomart image is:
To view the public key, run the following command:
$ cat ~/.ssh/id_rsa.pub
Copy the output of the command. The output should look like this:
To modify the code commit repository associated with the application in the Akinon ecosystem, users need to add a public key. The responsibility of overseeing this process lies with the developer. It is important to note that up to five public keys can be added for enhanced security and access control.
To add a public key to the ACC account, log in to the account and navigate to the Settings section from the left-side menu. Then, click on Public Keys to manage and configure the public key settings.
To add a new public key, click on the +New Public Key button.
Enter a label for the public key in the Label field, and paste the generated SSH Key into the Public Key field. Afterward, click the Apply button to successfully add the public key to the account.
The Public Keys list will display the public key that users have added. If they wish to remove a public key, they can click on the delete icon next to the respective key.