You will need to create a public key on the installer system for SSH login into Telco Cloud Operations virtual machines.
Complete the following steps to create public key.
Procedure
- Run the ssh-keygen command. See the following code block as an example.
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user_name/.ssh/id_rsa):
Created directory '/home/user_name/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user_name/.ssh/id_rsa.
Your public key has been saved in /home/user_name/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ZqXNqWYTWFL1jIEsYjjWhW42q/dY1q2KDhnwKQoxiW8 [email protected]
The key's randomart image is:
+---[RSA 2048]----+
| o o...oo |
|..+ = ..o = |
|*. + .... o o |
| * .= + = . |
|o Eo o. S + |
|oo o. + + |
|. o. o * . |
| ...= o o |
| o+.o.. |
+----[SHA256]-----+
- Accept all the defaults.
- Press Enter when prompted for a passphrase.
This creates a public key pair for both public and private keys.
The public and private keys are created in the user home directory in a .ssh folder. The public key extension is .pub.
$ ls -al .ssh
total 8
drwx------ 2 worker worker 38 Jun 23 05:52 .
drwxrwxrwx. 9 worker worker 273 Jun 23 05:52 ..
-rw------- 1 worker worker 1679 Jun 23 05:52 id_rsa
-rw-r--r-- 1 worker worker 417 Jun 23 05:52 id_rsa.pub