Projects / ssh-multiadd

ssh-multiadd

ssh-multiadd adds multiple ssh keys to the ssh authentication agent. These may use the same passphrase. When run without arguments, it adds $HOME/.ssh/identity and $HOME/.ssh/id_dsa. Alternative file names can be given on the command line or in the configuration file. It uses ssh-askpass if necessary. Unlike ssh-add, if any of the keys use the same passphrase, you will only need to enter each unique passphrase once, and keys that are already added will not be prompted for again.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  26 Jun 2002 00:46

    Release Notes: Support for OpenSSH 3.3.

    •  30 May 2001 21:14

      Release Notes: Support for OpenSSH 2.9 has been added, and there is a bit more debug output.

      •  22 Apr 2001 08:17

        Release Notes: This release now searches for programs in the PATH rather than the hardcoded /usr/bin/, ssh-askpass naming variants are now checked, /usr/lib/ssh is searched, and any .ssh or .ssh2 directories are searched for. Error messages have been improved when running a subprogram fails, and / is no longer assumed as a path seperator.

        •  14 Apr 2001 03:11

          Release Notes: Checking/skipping of keys already loaded, and -f to disable skipping of keys already loaded.

          •  05 Apr 2001 13:29

            Release Notes: Configuration file support was added. New options were added.

            Recent comments

            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

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.