0 Replies Latest reply on May 29, 2019 2:41 PM by hmartinez930

    Multiple Keys in one file

    hmartinez930

      Hello,

      I'm in the middle of a trial for Serv-u so far everything has been working great, but just hit a snag.

       

      We are looking to transition from an open ssh server to something more user friendly like serve-u. The setup is using private keys for authentication no passwords. I just found out that some users, will use the same user name, but different keys. On the open ssh server the public key for that account will have something like this:

       

      ssh-rsa

      KEY 1

       

      ssh-rsa

      KEY 2

       

      So two different users with their own keys can login using the same user name.

       

      I tried with with serv-u, the format is different, but did :

      ---- BEGIN SSH2 PUBLIC KEY ----

      KEY 1

      ---- END SSH2 PUBLIC KEY ----

      ---- BEGIN SSH2 PUBLIC KEY ----

      KEY 2

      ---- END SSH2 PUBLIC KEY ----

       

      This doesn't work, the only thing that is allowed authentication is the top line, anything under is ignored.

       

      Does anyone know if this is possible? Hoping it's just formatting that is off.