use sftp instead of ftp?


I see (roughly) how the pam configuration is altered so that vsftpd uses user account data from mysql. I would like to use sftp which is ssh based. Does anyone have any recommended pam modifications for ssh to allow mysql-based accounts in addition to the system logins?