Re: Can't figure out how to sudo
/usr/share/man/man8/sftp-server.8.gz
is definitely not a path to SFTP server executable.
Examples of common paths are in documentation:
https://winscp.net/eng/docs/faq_su#sudo
If your server uses a different path, you need to talk to your server administrator.