Skip to end of metadata
Go to start of metadata

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

    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       |
    |        .        |
  5. On the remove server, edit /.shh/config file as shown below. 


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

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

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

    Number of key(s) added is 1.

  7. Log into the machine with "ssh 'linuxadmix@'" 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@
    Last login: Mon Dec 17 01:40:33 EST 2018 from on ssh
    Sonus ConnexIP OS 06.02.00-R000 GNU/Linux
    linuxadmin@vsbc1:~$ exit