I am creating a test system that needs to be able to briefly act as a sftp server on a nonprivalaged port. The test system runs as a normal user. So I'm thinking as running sshd with the sftp subsystem configured to use the port and the host key I give it.
However I don't want to be using the system's authentication credentials but my own. So how do I tell sshd to use something other then systems's passwords?
Alternatively is there a better solution that allows me to fulfil my goals?