LinuxTeck publish a tutorial about setting up SFTP server on Rocky Linux 8.
How To Set Up An SFTP Server On Rocky Linux 8
SFTP (SSH File Transfer Protocol) is also called Secure FTP. It is a method for uploading and downloading files over an encrypted connection between two computers. Unlike FTP and FTPS, it works differently. Since SFTP is built upon the SSH (Secure Shell) protocol, version 2.0, it supports the full functionality of SSH, such as public-key encryption, to provide strong user authentication and secure encrypted communications over any reliable data stream.
How To Set Up An SFTP Server On Rocky Linux 8 | LinuxTeck