Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

enh(doc): Improve SSH Key Exchange #6933

Merged
merged 2 commits into from
Nov 2, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions doc/en/administration_guide/poller/ssh_key.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ The communication between a central server and a poller server is done by SSH.

You should exchange the SSH keys between the servers.

If you don’t have any private SSH keys on the central server for the Centreon user::
If you don’t have any private SSH keys on the central server for the Centreon user: ::

# su - centreon
$ ssh-keygen -t rsa

Copy this key on the new server::
Copy this key on the new server: ::

$ ssh-copy-id centreon@your_poller_ip
# su - centreon
$ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER

Go to the :ref:`Configure a server in Centreon<wizard_add_poller>`.
15 changes: 11 additions & 4 deletions doc/en/installation/from_VM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,19 @@ Using Poller VM is nearly the same as central. You just have to exchange SSH key
Exchange SSH keys
=================

On your central server:
The communication between a central server and a poller server is done by SSH.

::
You should exchange the SSH keys between the servers.

su - centreon
ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER
If you don’t have any private SSH keys on the central server for the Centreon user: ::

# su - centreon
$ ssh-keygen -t rsa

Copy this key on the new server: ::

# su - centreon
$ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER

The password of the centreon user is **centreon**. It can be easily changed using **passwd** command.

Expand Down
7 changes: 4 additions & 3 deletions doc/fr/administration_guide/poller/ssh_key.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ La communication entre le serveur central et un collecteur se fait via SSH.
Vous devez échanger les clés SSH entre les serveurs.

Si vous n’avez pas de clé SSH privée sur le serveur central pour
l’utilisateur 'centreon' : ::
l’utilisateur centreon ::

# su - centreon
$ ssh-keygen -t rsa

Vous devez copier cette clé sur le collecteur : ::
Vous devez copier cette clé sur le nouveau serveur : ::

$ ssh-copy-id centreon@your_poller_ip
# su - centreon
$ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER

Rendez-vous au chapitre :ref:`Configurer un server dans Centreon<wizard_add_poller>`.
18 changes: 13 additions & 5 deletions doc/fr/installation/from_VM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,20 @@ L'installation d'un collecteur de supervision (poller) est trés similaire à ce
Echange des clefs SSH
=====================

Sur votre serveur central :
La communication entre le serveur central et un collecteur se fait via SSH.

::
Vous devez échanger les clés SSH entre les serveurs.

su - centreon
ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER
Si vous n’avez pas de clé SSH privées sur le serveur central pour
l’utilisateur ‘centreon’ ::

# su - centreon
$ ssh-keygen -t rsa

Vous devez copier cette clé sur le nouveau serveur : ::

# su - centreon
$ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER

le mot de passe de l'utilisateur centreon sur le collecteur est configuré par défaut à **centreon**. Il est fortement conseillé de la changer en utilisant la commande **passwd**.

Expand All @@ -55,4 +63,4 @@ Vous pouvez maintenant ajouter des éléments à superviser sur votre collecteur

.. warning::

La premiére fois que vous exportez la configuration, il sera nécessaire de choisir le choix restart.
La premiére fois que vous exportez la configuration, il sera nécessaire de choisir le choix restart.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il sera -> Il est
...choisir le choix restart -> ...choisir l'option restart