0

How I can set a anonymous sftp user ?
I generate the ssh keys pair, set /usr/lib/sftp-server as shell in /etc/password and share the private key (id_rsa) and with this command the users get access
sftp -oIdentityFile=id_rsa public_sftp@host
is a good idea ?