2022-05-22 14:59:45 +02:00
|
|
|
<?php require "../../common/html.php"; ?>
|
2021-02-16 19:20:19 +01:00
|
|
|
|
2022-06-16 15:08:50 +02:00
|
|
|
<?php displayIndex(); ?>
|
|
|
|
|
2022-05-21 02:13:42 +02:00
|
|
|
<p>
|
|
|
|
Vous avez accès à un espace <abbr title="SSH File Transfert Protocol">SFTP</abbr>. Vous pouvez téléverser vos sites dans <code>/<nom du site>/*</code>. Indiquez les données ci-dessous à votre client <abbr title="SSH File Transfert Protocol">SFTP</abbr> pour y accéder.
|
|
|
|
</p>
|
2022-05-20 00:15:13 +02:00
|
|
|
|
2022-05-21 02:13:42 +02:00
|
|
|
<section>
|
2022-06-16 15:08:50 +02:00
|
|
|
<h2>Authentifier le serveur</h2>
|
2022-05-20 00:15:13 +02:00
|
|
|
|
2022-05-21 02:13:42 +02:00
|
|
|
<details>
|
|
|
|
<summary>Clé publique</summary>
|
|
|
|
<code><?= file_get_contents(CONF['ht']['sftp_pub']) ?></code>
|
|
|
|
</details>
|
2022-05-20 00:15:13 +02:00
|
|
|
|
2022-05-21 02:13:42 +02:00
|
|
|
<details>
|
|
|
|
<summary>Empreinte</summary>
|
|
|
|
<code><?= file_get_contents(CONF['ht']['sftp_fp']) ?></code>
|
|
|
|
</details>
|
2022-05-20 00:15:13 +02:00
|
|
|
|
2022-05-21 02:13:42 +02:00
|
|
|
<details>
|
|
|
|
<summary>Art ASCII</summary>
|
|
|
|
<pre><?= file_get_contents(CONF['ht']['sftp_asciiart']) ?></pre>
|
|
|
|
</details>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
2022-06-16 15:08:50 +02:00
|
|
|
<section>
|
|
|
|
<h2>Se connecter au serveur</h2>
|
|
|
|
|
|
|
|
<a href="sftp://<?= isset($_SESSION['username']) ? $_SESSION['username'] : '<username>'; ?>@<?= CONF['ht']['sftp_domain'] ?>:<?= CONF['ht']['public_sftp_port'] ?>/">sftp://<?= isset($_SESSION['username']) ? $_SESSION['username'] : '<username>'; ?>@<?= CONF['ht']['sftp_domain'] ?>:<?= CONF['ht']['public_sftp_port'] ?>/</a>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt>Serveur</dt>
|
|
|
|
<dd>
|
|
|
|
<code><?= CONF['ht']['sftp_domain'] ?></code>
|
|
|
|
</dd>
|
|
|
|
<dt>Port</dt>
|
|
|
|
<dd>
|
|
|
|
<code><?= CONF['ht']['public_sftp_port'] ?></code><?php if (CONF['ht']['public_sftp_port'] === 22) echo " (par défaut)"; ?>
|
|
|
|
</dd>
|
|
|
|
<dt>Dossier</dt>
|
|
|
|
<dd>
|
|
|
|
<code>/</code>
|
|
|
|
</dd>
|
|
|
|
<dt>Utilisataire</dt>
|
|
|
|
<dd>
|
|
|
|
<code><?= isset($_SESSION['username']) ? $_SESSION['username'] : '<username>'; ?></code>
|
|
|
|
</dd>
|
|
|
|
<dt>Clé de passe</dt>
|
|
|
|
<dd>
|
|
|
|
celle que vous avez définit lors de l'activation de l'accès <abbr title="SSH File Transfert Protocol">SFTP</abbr>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</section>
|
2021-01-22 21:58:46 +01:00
|
|
|
|
2022-05-22 14:59:45 +02:00
|
|
|
<?php closeHTML(); ?>
|