2017-02-10 15:17:34 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** Copyright (C) 2017 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
|
|
|
|
**
|
|
|
|
|
** This file is part of the Qt Creator documentation.
|
|
|
|
|
**
|
|
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
|
|
|
**
|
|
|
|
|
** GNU Free Documentation License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU Free
|
|
|
|
|
** Documentation License version 1.3 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file included in the packaging of
|
|
|
|
|
** this file. Please review the following information to ensure
|
|
|
|
|
** the GNU Free Documentation License version 1.3 requirements
|
|
|
|
|
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
|
|
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
//! [generating ssh keys]
|
|
|
|
|
|
2011-09-14 16:36:18 +02:00
|
|
|
\section2 Generating SSH Keys
|
|
|
|
|
|
|
|
|
|
If you do not have an SSH public and private key pair, you can generate it
|
2012-04-16 11:16:10 +02:00
|
|
|
in \QC. The connection wizard can create the key pair for you, or you can
|
|
|
|
|
create it separately.
|
|
|
|
|
|
2018-11-20 16:44:42 +01:00
|
|
|
You can specify key length and the key algorithm, RSA or ECDSA.
|
2011-09-14 16:36:18 +02:00
|
|
|
If you only use the keys to protect connections to the emulator or
|
|
|
|
|
device, you can use the default values.
|
|
|
|
|
|
|
|
|
|
\list 1
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li Select \uicontrol Tools > \uicontrol Options > \uicontrol Devices
|
|
|
|
|
> \uicontrol {Create New}.
|
2011-09-14 16:36:18 +02:00
|
|
|
|
|
|
|
|
\image qtcreator-ssh-key-configuration.png "SSH Key Configuration dialog"
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li In the \uicontrol {Private key file} field, select the location to save
|
2012-03-13 14:54:18 +01:00
|
|
|
the private key.
|
2011-09-14 16:36:18 +02:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
The \uicontrol {Public key file} field displays the location to save the
|
2012-03-13 14:54:18 +01:00
|
|
|
corresponding public key.
|
2011-09-14 16:36:18 +02:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li Select \uicontrol {Generate And Save Key Pair} to generate and save the
|
2012-03-13 14:54:18 +01:00
|
|
|
keys at the specified locations.
|
2011-09-14 16:36:18 +02:00
|
|
|
|
|
|
|
|
\endlist
|
2017-02-10 15:17:34 +01:00
|
|
|
|
|
|
|
|
//! [generating ssh keys]
|
|
|
|
|
*/
|