I'm writing a ruby on rails service that will conect to various servers via SSH.
I want to generate the public/rivate key and store them in the database. Then the user will be able to view the public key and add it to there key authentication for SSH on their server.
The my service will contact the servers via Net::SSH and present the corresponding keys.
My questions is what API calls do I need to achive this. Most of the documentation assomes you'll be creating keys in the .ssh directory.