article:ssh:lancer_un_deuxieme_service_ssh_sous_debian
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| article:ssh:lancer_un_deuxieme_service_ssh_sous_debian [2026/03/06 13:52] – estro | article:ssh:lancer_un_deuxieme_service_ssh_sous_debian [2026/03/06 16:17] (Version actuelle) – estro | ||
|---|---|---|---|
| Ligne 11: | Ligne 11: | ||
| <WRAP # | <WRAP # | ||
| <adm quote Modèle nouvelle configuration ssh> | <adm quote Modèle nouvelle configuration ssh> | ||
| - | * Créer le dossier du nouveau service ssh <code bash> | + | * <color # |
| - | sudo mkdir /etc/ssh/ssh_2/ </ | + | sudo --shell bash |
| - | * Créer et adapter le modèle de fichier de configuration du nouveau service <code bash>sudo echo >/ | + | |
| + | </ | ||
| + | * <color # | ||
| + | mkdir /etc/ssh/sshd_2/ </ | ||
| + | * Créer et adapter le modèle de fichier de configuration du nouveau service <code bash>cat >/ | ||
| ChallengeResponseAuthentication no | ChallengeResponseAuthentication no | ||
| Port 2230 | Port 2230 | ||
| Ligne 26: | Ligne 30: | ||
| PubkeyAuthentication yes | PubkeyAuthentication yes | ||
| RSAAuthentication yes | RSAAuthentication yes | ||
| - | PermitRootLogin without-password | ||
| PermitEmptyPasswords no | PermitEmptyPasswords no | ||
| PasswordAuthentication no | PasswordAuthentication no | ||
| Ligne 63: | Ligne 66: | ||
| sudo systemctl enable ssh-second | sudo systemctl enable ssh-second | ||
| sudo systemctl start ssh-second | sudo systemctl start ssh-second | ||
| + | </ | ||
| + | * test des ports ouverts <code bash> | ||
| + | sudo ss -tlnp | ||
| </ | </ | ||
| </ | </ | ||
article/ssh/lancer_un_deuxieme_service_ssh_sous_debian.1772805156.txt.gz · Dernière modification : de estro
