|
|||||||||||
|
RE: ssh-agent and ssh-add automatically
From: Wilson, Richard E <richard.wilson(at)eds.com>
Date: Tue Dec 17 2002 - 15:59:21 EST
You can get away with doing this once every time the system boots, but it still has to be done. Here's how (also using RH 7.3): ssh-agent | head -2 > $HOME/.ssh-agent.dat ssh-add Then add the following to your .bashrc (assuming you're using bash):
if [ -f $HOME/.ssh-agent.dat ]; then
You can of course create a system startup script to handle this, but it will have to have the individual ID's pass phrases available to it somehow and has to run as the ID that will be using the agent. Has anyone out there created a secure solution to that one? Richard Wilson
-----Original Message-----
Hi,
ssh-agent $SHELL
I also need to write my passphrase and only after this procedure I am able do carry out any command on any nodes directly from server without typing password or passphrase. (For example, command like ssh -n har3 date). Har3 is the name of one of the node. What I want is to skip this procedure with ssh-agent and ssh-add commands. Is it possible to modify some configuration files of ssh so that I would be able to carry out command on nodes when I write it actually on server (like above command ssh -n har3 date) directly when I start a new session without ssh-agent and ssh-add commands. Thank you in advance David Received on Wed Dec 18 12:15:30 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT |
||||||||||
|
|||||||||||