Tâche #26011
Scénario #29069: Traitement express MEN (42-44)
spécifier la clé ssh à copier
Start date:
11/27/2018
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
Si on est connecté en ssh sur un seth DC pour procéder à son instance, et que sur le client ssh l'option ForwardAgent est activée, le ssh-copy-id executé dans le script samba4.sh copie la clé du client plutot que celle du serveur, ce qui est problématique par la suite.
Il faudrait donc spécifier la clé à copier dans le script via un -i /root/.ssh/id_rsa.pub
Related issues
Associated revisions
Indicate the key to copy with ssh-copy-id
Ref: #26011
History
#1 Updated by Joël Cuissinat over 1 year ago
- Tracker changed from Anomalie to Demande
#2 Updated by Gilles Grandgérard over 1 year ago
- Parent task set to #29069
#3 Updated by Joël Cuissinat over 1 year ago
- Related to Tâche #25028: Gérer les 'forward agent' ssh lors des commandes SSH added
#4 Updated by Joël Cuissinat over 1 year ago
Pour #25028, nous avons ajouté la ligne suivante :
unset SSH_AUTH_SOCK
On peut aussi utiliser l'option :
-o ForwardAgent=no
#5 Updated by Joël Cuissinat over 1 year ago
- Project changed from EOLE AD DC to Distribution EOLE
- Status changed from Nouveau to En cours
#6 Updated by Joël Cuissinat over 1 year ago
- Subject changed from spécifier la clé ssh à copier to spécifier la clé ssh à copier
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#7 Updated by Joël Cuissinat over 1 year ago
- Status changed from En cours to Résolu
#8 Updated by Joël Cuissinat over 1 year ago
- % Done changed from 0 to 100
#9 Updated by Laurent Flori over 1 year ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0