Setup SFTP in Linux
Steps to Configure SFTP in Linux
Configure env vars for Setup
Update the apt
Install OpenSSH
Configure sftp
Add the below content at the end of the file (replace vars)
Add new group
Add user to group and restrict interactive login
Set password for sftp user
Create directory for sftpuser
Set root as own for sftpuser directory
Allow group read and execution perms
Create Sub Directory for storing data of sftp
set sftpuser as owner for Data Directory
Connect to sftp
Enter the password you've configured in above steps
Handling Downtime
Logging the Failures in SQL Database.
Add a timer trigger to retry these failed cases and notify if not worked.
Retry for 5 times, and then ignore by logging error.
Last updated