From 6cb3ee41b398ddc31c9f83ed23ee20c46dc19c82 Mon Sep 17 00:00:00 2001 From: Arthur BOUDREAULT <arthur@lydra.fr> Date: Tue, 28 Feb 2023 11:28:24 +0100 Subject: [PATCH] docs: add Christophe suggestion --- roles/ynh_config/README-FR.md | 3 ++- roles/ynh_config/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/ynh_config/README-FR.md b/roles/ynh_config/README-FR.md index d35a625..e23b072 100644 --- a/roles/ynh_config/README-FR.md +++ b/roles/ynh_config/README-FR.md @@ -58,7 +58,8 @@ Si votre instance YunoHost est derrière un firewall applicatif ou propre à vot ```yml ynh_ssh_port: "812" ``` -âš ï¸ Attention, à partir du moment où le port SSH est modifié, la prochaine fois que vous voudrez vous connecter en SSH sur le serveur YunoHost, il faudra renseigner le port SSH utilisé (par exemple `ssh -p 812 username@hostname`). Vous pouvez également externaliser cette configuration vers un fichier de configuration SSH (plus d'infos [ici](https://linuxize.com/post/using-the-ssh-config-file/)). + +âš ï¸ Attention, à partir du moment où le port SSH est modifié, la prochaine fois que vous voudrez vous connecter en SSH sur le serveur YunoHost, il faudra renseigner le port SSH utilisé (par exemple `ssh -p 812 username@hostname`). Vous pouvez également externaliser cette configuration vers un fichier de configuration SSH (plus d'infos [ici](https://linuxize.com/post/using-the-ssh-config-file/)). Vous pouvez aussi indiquer cette configuration dans votre fichier d'inventaire sinon Ansible ne pourra plus se connecter à votre serveur. (plus d'infos [ici](https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-handle-different-machines-needing-different-user-accounts-or-ports-to-log-in-with)). ## Dépendances diff --git a/roles/ynh_config/README.md b/roles/ynh_config/README.md index 665e700..e072a1c 100644 --- a/roles/ynh_config/README.md +++ b/roles/ynh_config/README.md @@ -59,7 +59,7 @@ In your YunoHost host is behind a firewall, you may consider creating the approp ynh_ssh_port: "812" ``` -âš ï¸ Be careful, from the moment the SSH port is modified, the next time you want to connect to the YunoHost server with SSH, you will have to specify the SSH port to be used (for example `ssh -p 812 username@hostname`). You can also externalize this configuration to an SSH configuration file (more info [here](https://linuxize.com/post/using-the-ssh-config-file/)). +âš ï¸ Be careful, from the moment the SSH port is modified, the next time you want to connect to the YunoHost server with SSH, you will have to specify the SSH port to be used (for example `ssh -p 812 username@hostname`). You can also externalize this configuration to an SSH configuration file (more info [here](https://linuxize.com/post/using-the-ssh-config-file/)). You can indicate that configuration in your inventory file otherwise Ansible won't be able to connect to your server. (More info [here](https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-handle-different-machines-needing-different-user-accounts-or-ports-to-log-in-with)). ## Dependencies -- GitLab