DO NOT SHARE THESE DOCS WITH CUSTOMERS!

This is an LA release that will only be provided to a select number of PLM-sanctioned customers (PDFs only). Contact PLM for details.

To establish a password-less connection between the SBC and the remote server:

  1. Generate key on the remote server:

    bats12:~> ssh-keygen

    generating public/private rsa key pair.

  2. Enter the file in which to save the key (/home/<username>/.ssh/id_rsa): testingkey

  3. Enter passphrase (leave it empty if there is no passphrase).
  4. Enter same passphrase again, and your identification will be saved in testingkey.
    Your public key has been saved in testingkey.pub.

    The key fingerprint is:

    SHA256:uxVaJoaxAPGaWnlLd9Wwfja1R4WU13e2XUvcInwjmMI <username>@bats12

    The key's randomart image is:

    The key's randomart image is:
    
    +---[RSA 2048]----+
    |  o.   .  .+ .oo+|
    |   o    E o++ *oX|
    |    o .  .o .+o=O|
    |   + . + o   . =.|
    |  = o + S = + . .|
    | o o o o * + . . |
    |.   .   o .      |
    |         o       |
    |        .        |
    +----[SHA256]-----+
  5. On the remove server, edit /.shh/config file as shown below. 

    Note

    The keytest file is the one that is already installed on the SBC under authorized keys.

    vi ~/.ssh/config
     
    Host 10.34.194.36
        Port 2024
        User linuxadmin
        IdentityFile /home/<username>/keytest
  6. Using ssh-copy-id, copy the key to the SBC:

    bats12:~>ssh-copy-id -i testingkey.pub -f linuxadmin@10.34.194.36
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "testingkey.pub"

    Number of key(s) added is 1.

  7. Log into the machine with "ssh 'linuxadmix@10.34.194.36'" and check to ensure that only the proper key(s) were added. 
  8. On the SBC, check that no password prompt appears.

    bats12:~> ssh linuxadmin@10.34.194.36
    Last login: Mon Dec 17 01:40:33 EST 2018 from 10.54.81.11 on ssh
    Sonus ConnexIP OS 06.02.00-R000 GNU/Linux
    linuxadmin@vsbc1:~$ exit
    exit