I wan't to provide SSH/RSYNC like features to users of my app. I'd like them to just be able to paste/save an SSH key into my app similar to how GitHub does:
So, my question is, once I let users save their key (preferably in the database):
Is there a way I can provide/mimic SSH/RSYNC features without actually creating Linux user accounts? I'd love to be able to authorize based on their database-stored public key and let them RSYNC in/out of a specific folder (say, based on their username in the app, for example).
(if it matters, it will be a Rails app deployed to an Ubuntu server)