Discover Centmin Mod today
Register Now

Sysadmin How to add 2nd ssh key pair

Discussion in 'System Administration' started by narji, Sep 17, 2016.

  1. narji

    narji Member

    69
    6
    8
    Feb 4, 2016
    Ratings:
    +12
    Local Time:
    2:44 PM
    this is sample of my authorized_key file in /user/.ssh/

    ssh-ed25519 blalblala--+u6Z9 user@domain-.com


    how to add second line 'or' command for mix ed25519 with rsa ?
    ssh-rsa bla-bla user@domain-.com

    i'm confuse now
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Read up / google for how to create and add ssh key pairs. It's the same way you added the ed25519 to authorized_keys file ;)

    I wrote keygen.sh for automating this somewhat. Provided as is so you still need to know what you're doing :)
     
    Last edited: Sep 18, 2016