Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expstatickeys

Den SSH-Deploy-Key eines Ziels des statischen Veröffentlichens erzeugen oder anzeigen: ed25519, die private Hälfte im Geheimnisspeicher, die öffentliche zum Hinzufügen beim Repository.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expstatickeys.md

On this page

This page is a translation. Read the English original

exp:expstatickeys

Den SSH-Deploy-Key eines Ziels des statischen Veröffentlichens erzeugen oder anzeigen: ed25519, die private Hälfte im Geheimnisspeicher, die öffentliche zum Hinzufügen beim Repository.

Skript bin/php/expstatickeys.php, Code in kernel/private/classes/commands/expstatickeys.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:expstatickeys --help
./console exp:static:keys --help
php bin/php/expstatickeys.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

The SSH deploy key of a static publishing target
With --generate it makes a key pair for the target (ed25519, with ssh-keygen), stores the private half
in the secret store (Setup > Secrets, never in a file of the site) and prints the public half: add it
to the repository as a deploy key with write access, set the target's Credential=sshkey:<secret> and
its Remote to the SSH address ([email protected]:owner/repo.git). Without --generate it shows the public
half and the fingerprint of the key the target has.

./console exp:static:keys github-public --generate
./console exp:static:keys github-public
./console exp:static:keys github-public --generate --replace       a new key; the old one stops working

Optionen

OptionWertHilfe
--generateEinen neuen Deploy-Key (ed25519) erzeugen und seine private Hälfte im Geheimnisspeicher ablegen
--replaceMit --generate: den Deploy-Key des Ziels ersetzen (der alte funktioniert nicht mehr)
--formaterforderlichtext (Standard) oder json (die Maschinenausgabe exp-static/1)

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Argumente: [target].

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expstatickeys.php, kernel/private/classes/commands/expstatickeys.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x