First, create a new user who will be granted only file transfer access to the server. Here, we're using the username¬†sammyfiles, but you can use any username you like. sudo adduser sammyfiles You'll be prompted to create a password for the account, followed by some information about the user. The…