Want to subscribe to topics you're interested in?
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:
    4:25 AM
    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

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:25 AM
    Nginx 1.13.x
    MariaDB 5.5
    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