Configure SSH connections | Qt Creator Documentation

- Qt Creator Documentation
- Configure SSH connections
- Qt Creator 19.0.0

Build applications on remote Linux devices ◦ Configure development tools

# Configure SSH connections

To protect the connections between Qt Creator and a device, install the OpenSSH suite, which includes the `ssh`, `sftp`, and `ssh-keygen` tools on the computer.

SSH connections are established via an OpenSSH client running in master mode, if possible. By default, multiple sessions are shared over a single SSH onnection. Establishing a connection once and then re-using it for subsequent run and deploy procedures reduces connection setup overhead particularly with embedded devices. Because connection sharing is not supported on Windows, a new SSH connection is created for each deploy or run procedure.

To set the paths to the directories where the tools are installed:

1. Go to Preferences > Devices > SSH.

2. Clear Enable connection sharing to create a new SSH connection for each deploy and run procedure. This option is grayed on Windows, where connection sharing is not supported.
3. In Connection sharing timeout, specify the timeout for reusing the SSH connection in minutes.
4. In Path to ssh executable, enter the path to the directory where the OpenSSH executable is installed.
5. In Path to sftp executable, enter the path to the directory where the SFTP executable is installed.
6. In Path to ssh-askpass executable, enter the path to the directory where the ssh-askpass executable is installed. Usually, you can use the default path that points to the implementation of the tool delivered with Qt Creator, qtc-askpass.
7. In Path to ssh-keygen executable, enter the path to the directory where the ssh-keygen executable is installed.

See also How to: Develop for remote Linux and Developing for remote Linux devices.

Build applications on remote Linux devices ◦ Configure development tools