Is there a way for people to log onto a debian server via sftp using just mysql database table as authentaction. IE not adding a user to the system?
I know it can be done over ftp and TLS but i really dont want to use that method
Thanks
|
|
|
My two cent suggestion: you could use PAM to do this. E.g. Use some pam module as pam-mysql to store some of your users in mysql and pam_require to avoid that mysql-stored users can access other than sftp service. Start looking here: Modules/Applications available or in progress... |
|||||||
|
|
No. SFTP works by logging in via SSH and then spawning the You can, however, create a user that cannot log on except for sftp/scp by giving them the scponly program as a login shell. Fairly easy to do as long as you follow the steps, and about as secure as it gets. |
||||
|
|