

Will upload the local project folder to the remote directory configured in the sftp-config.json file. sFTP Operations Sublime Text sFTP Operations and Usage Right-click on project folder → SFTP/FTP. We will upload the project folder to /home/tecmint now. Now in my remote machine, my directory /home/tecmint is empty. But as of now, these are the important parameters that we need to get going. We have a few more options to configure depending upon the need. We have done some mandatory configuration in sftp-config.json to start syncing our files to the remote machine. We can ignore files and folders to be synced by providing the file identifier in “ ignore_regexes”. We can also set file and directory permission using “ file_permission” and “ dir_permission” parameters. SSH AuthenticationĬonfigure the remote directory path “ remote_path” where the project files and folders need to be synced. SSH key-based authentication is also possible, we can create a Public-Private key pair and the key can be pointed to the location using the parameter “ ssh_Key_file”. The hostname can be FQDN or IP address and by default port number is 22. Password will be prompted when we start the sync.

We will now configure remote host information like hostname, username, and port. There are three different protocols (SFTP, FTP, and FTPS) can be used. Let’s break down the settings and configure some important parameters. The sftp-config.json file will be created in the project folder which holds the remote configuration settings. Right-click on the project folder → SFTP/FTP → Map to Remote. My remote machine is Linux Mint 19.3 running on a VM. I have a directory where it contains two python scripts which will be Synced to a remote machine. We will explore all of these options over the course of this article. You will find several options to work with SFTP functionalities.
