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

Commit

Permalink
enh(doc): Improve SSH Key Exchange (#6933)
Browse files Browse the repository at this point in the history
* enh(doc): Improve SSH Key Exchange
  • Loading branch information
lpinsivy authored Nov 2, 2018
1 parent f553ebb commit f4c57b1
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 16 deletions.
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>`.
17 changes: 12 additions & 5 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 All @@ -54,4 +61,4 @@ Then you can configure and add resources on your poller. The poller is operation

.. warning::

When you export your configuration for the first time, you have to choose "restart".
When you export your configuration for the first time, you have to choose "restart" option.
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 l'option **restart**.

0 comments on commit f4c57b1

Please sign in to comment.