Linux Limit SSH Access on Linux Allow or deny SSH? You may want to provide a secure and limited SSH access to your public hosts, using SSH keys. Here's a simple a way to do it.
Linux Secure FTP with Linux Secure FTP communication with your Linux host. These instructions apply for Ubuntu 18.04 and can easily be adapted for a vast majority of Linux platforms.