SSH接続の設定
Qt Creator とデバイス間の接続を保護するには、コンピュータにOpenSSHスイートをインストールしてください。このスイートには、ssh 、sftp 、およびssh-keygen ツールが含まれています。
SSH接続は、可能であればマスターモードで動作するOpenSSHクライアントを介して確立されます。 デフォルトでは、1つのSSH接続上で複数のセッションが共有されます。一度接続を確立し、その後の実行およびデプロイ手順でそれを再利用することで、特に組み込みデバイスにおいて、接続のセットアップにかかるオーバーヘッドを削減できます。Windowsでは接続の共有がサポートされていないため、デプロイまたは実行手順ごとに新しいSSH接続が作成されます。
ツールがインストールされているディレクトリへのパスを設定するには:
- [Preferences ] > [Devices ] > [SSH] に移動します。

- 「Enable connection sharing 」のチェックを解除すると、デプロイおよび実行手順ごとに新しいSSH接続が作成されます。このオプションは、接続共有がサポートされていないWindowsではグレーアウトされます。
- 「Connection sharing timeout 」で、SSH接続を再利用する際のタイムアウト時間を分単位で指定します。
- [Path to ssh executable] で、OpenSSH 実行ファイルがインストールされているディレクトリのパスを入力します。
- [Path to sftp executable] で、SFTP 実行ファイルがインストールされているディレクトリのパスを入力します。
- Path to ssh-askpass executable で、ssh-askpass 実行ファイルがインストールされているディレクトリのパスを入力します。通常、Qt Creator に同梱されているツール qtc-askpass を指すデフォルトのパスを使用できます。
- 「Path to ssh-keygen executable 」で、ssh-keygen 実行ファイルがインストールされているディレクトリのパスを入力します。
「手順:リモート Linux 向けの開発」および「リモート Linux デバイス向けの開発」も参照してください 。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.