Quantcast
Viewing all articles
Browse latest Browse all 659

Multiple Keys in one file

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.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 659

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>