Hello,
Are you facing an error during an FTP/SFTP connection? As a default, sometimes you are not able to connect your server over the FTP/SFTP without ssh key file. So If you follow this guide you will able to connect your server over the FTP/SFTP.
Edit the /etc/ssh/sshd_config file [$ vi...