Projects / ssh-multiadd / Comments

Comments for ssh-multiadd

18 Jun 2001 18:37 donut

Re: ssh-add
The ssh-add support for trying the same password again was only added in openssh 2.9, so anyone using earlier versions or commercial ssh won't have it at all. The support in openssh, afaik is pretty primative, it only retries the previous password once, so if you have more than one password you'd have to manually list them in the right order.

In addition, ssh-add will always ask you for the password, even if the keys are already added.

18 Jun 2001 15:38 joffie

ssh-add
I might be mistaken, but I don't see what it adds
to the functionality of
ssh-add. What I use in my
~/.profile seems to do the same thing. (And yes,
my passphrases are the same for both
~/.ssh/identity and ~/.ssh/id_dsa and I only have to
enter the passphrase once)

if [ "$SSH_AGENT_PID" == "" ]
then
eval $(ssh-agent)
ssh-add ~/.ssh/identity ~/.ssh/id_dsa
trap "kill $SSH_AGENT_PID" 0
else
echo "ssh-agent already running.."
fi

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.