To enable SFTP file transfer on an SSH server, you need to follow these steps:
1. Open the SSH configuration file: \`\`\` sudo nano /etc/ssh/sshd\_config \`\`\`
1. Add the following line to the end of the file: \`\`\` Subsystem sftp /usr/lib/openssh/sftp-server \`\`\`
1. Save and close the file.
1. Restart SSH service: \`\`\` sudo systemctl restart ssh \`\`\`
1. If you want to restrict SFTP to specific users, open the SSH configuration file again and add the following line to the end of the file: \`\`\` Match User username ForceCommand internal-sftp \`\`\` Replace “username” with the desired username.
1. Save and close the file.
1. Restart SSH service again.
Now, SFTP file transfer will be enabled for your SSH server, and you can connect to it using an SFTP client.