

Use the File Transfer tool window ( View | Tool Windows | File Transfer) to monitor the progress of file synchronization:Ĭheck and adjust the deployment configuration Select your remote toolchain in the Toolchain field: Go to Settings / Preferences | Build, Execution, Deployment | Makefile. (Makefile) Select the remote toolchain in Makefile setting Go to Settings / Preferences | Build, Execution, Deployment | CMake.Ĭlick to create a new CMake profile, and connect it to your remote toolchain using the Toolchain field:Īlternatively, set the remote toolchain as default and select Use default. (CMake) Create the corresponding CMake profile When set as default, the remote toolchain is used for all the projects you create and open in CLion.įor CMake projects, if you set the remote toolchain as default, the default CMake profile will connect to it automatically, so you do not need to configure a separate CMake profile for it. You can make the newly created toolchain the default one (for this, move it to the top of the toolchains list by clicking ). When the checks finish successfully, the toolchain is ready for use:
#Grsync canot open display full
You can also manage SSH configurations in Settings / Preferences | Tools | SSH Configurations.Īfter establishing the connection, CLion attempts to detect the tools in default remote locations /usr/bin/cmake and /usr/bin/gdb (or using the full paths, if you have provided manually). Existing SSH configurations are available from the drop-down list. In the dialog that opens, create an SSH configuration and provide the credentials for accessing you remote machine.

Go to Settings / Preferences | Build, Execution, Deployment | Toolchains and select Remote Host from the list of toolchains or click and select Remote Host from the drop-down menu to create a new toolchain.Ĭlick next to the Credentials field. You can enable Rsync synchronization on Windows by selecting the Use Rsync for download/upload/sync checkbox in deployment settings.Ĭreate a toolchain with remote credentials This mechanism works slower than synchronization with the Rsync tool on macOS and Linux. on the main menu), then restart CLion with cache reset ( File | Invalidate Caches / Restart.).įor files synchronization on Windows, by default, CLion relies on its own Remote Host Access and compression on the host side using the tar utility. When working on a Windows client, keep in mind the following:ĭue to the IntelliJ platform issue, you need to set the property value =true in the idea.properties file (to access the property file, select Help | Edit Custom Properties.

On the remote host side, CLion performs compilation and build using host compilers and CMake/make, uses host GDB for debug, and runs the application on the remote target. Also, your program can be launched on a cloud platform or, for example, inside a Docker container.įor remote development, the CLion instance runs locally, and your source files are also placed on the local client, with automatic synchronization to the remote host. You can choose any Linux-based target, including embedded systems on single-board computers like Raspberry Pi. With full remote mode, you can work on a macOS, Linux, or Windows desktop targeting a remote Linux machine connected via SSH.
