File: machine-unknown-hostkey.html

package info (click to toggle)
cockpit 239-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,268 kB
  • sloc: javascript: 245,474; ansic: 72,273; python: 23,634; xml: 6,155; sh: 2,919; makefile: 923; sed: 5
file content (23 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="modal-header">
  <h4 class="modal-title" translate="yes">New host</h4>
</div>
<div id="add-unknown-host" class="modal-body">
  {{#key}}
  <p translate>You are connecting to {{host}} for the first time.</p>
  <p translate>To ensure that your connection is not intercepted by a malicious third-party, please verify the host key fingerprint:</p>
  <pre class="hostkey-fingerprint">{{key.fingerprint}}</pre>
  <p class="hostkey-type">({{key.type}})</p>
  <p translate>To verify a fingerprint, run the following on {{host}} while physically sitting at the machine or through a trusted network:</p>
  <pre class="hostkey-verify-help-cmds">ssh-keyscan -t {{key.type}} localhost | ssh-keygen -lf -</pre>
  <p translate>The resulting fingerprint is fine to share via public methods, including email.</p>
  <p translate>If the fingerprint matches, click "Accept key and connect". Otherwise, do not connect and contact your administrator.</p>
  {{/key}}
</div>

<div class="modal-footer">
  {{#key}}
  <button class="pf-c-button pf-m-primary apply" translate="yes">Accept key and connect</button>
  {{/key}}

  <button class="pf-c-button pf-m-link" data-dismiss="modal" translate="yes">Cancel</button>
</div>