An alternative space dedicated to technology and culture at Charleroi.
|
|
(Une version intermédiaire par un autre utilisateur non affichée) |
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 ==
| | Very nice site! |
| * Ajouter votre clef avec ssh-add
| |
| * Vous pouvez désormais vous connecter où vous voulez en utilisant cette clef
| |
| | |
| [[Category:Knowledge base]]
| |
Version actuelle datée du 28 juillet 2014 à 07:55
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!
Very nice site!