« Authentification par clefs SSH » : différence entre les versions

An alternative space dedicated to technology and culture at Charleroi.
Aller à la navigation Aller à la recherche
Ligne 1 : Ligne 1 :
You produced some decent points there. I looked on the net to the problem and discovered many people goes together with along along with your web site. acffekgkdedfdeec
You produced some decent points there. I looked on the net to the problem and discovered many people goes together with along along with your web site. acffekgkdedfdeec


== Configurer un agent ==
Very nice site!
=== Méthodologie proposée ===
# démarrer un process agent au démarrage du système, de par une entrée @reboot dans la crontab de l'utilisateur
# veiller à ce que toute nouvelle instance du shell utilise cet agent
=== Sous bash ===
# Accéder à la crontab
crontab -e
# Ajouter cette ligne dans la crontab :
@reboot ssh-agent -s | grep -v echo > $HOME/.ssh/ssh-agent-session
# Ajouter dans le fichier .profile de votre répertoire home :
source .ssh/ssh-agent-session
=== Sous csh ou tcsh ===
# Accéder à la crontab
crontab -e
# Ajouter cette ligne dans la crontab :
@reboot ssh-agent -c | grep -v echo > $HOME/.ssh/ssh-agent-session
# Ajouter dans le fichier .cshrc de votre répertoire home :
source .ssh/ssh-agent-session


== Utiliser l'agent ==
== Utiliser l'agent ==

Version du 26 juillet 2014 à 19:38

You produced some decent points there. I looked on the net to the problem and discovered many people goes together with along along with your web site. acffekgkdedfdeec

Very nice site!

Utiliser l'agent

  • Ajouter votre clef avec ssh-add
  • Vous pouvez désormais vous connecter où vous voulez en utilisant cette clef