Learn about Centmin Mod LEMP Stack today
Become a Member

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:07 PM
    this is sample of my authorized_key file in /user/.ssh/

    ssh-ed25519 blalblala--+u6Z9 [email protected]

    how to add second line 'or' command for mix ed25519 with rsa ?
    ssh-rsa bla-bla [email protected]

    i'm confuse now
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,318
    8,154
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,551
    Local Time:
    5:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
    • Like Like x 1
..