6 stdenvNoCC.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "1l09zy87033v7hd17lhkxikwikqz5nj9x6c2w80rqpad4lp9ihwz";
17 installFlags = [ "PREFIX=$(out)" ];
20 description = "ssh-agents capable of spawning and maintaining multiple ssh-agents across terminals";
22 The SSH agent is usually spawned by running eval $(ssh-agent), however this
23 spawns a new SSH agent at every invocation. This project provides an
24 ssh-agent wrapper called ssh-agents that is capable of spawning an SSH
25 agent and caching the environment variables for later invocation.
28 - One SSH agent across all terminals
29 - Add all un-encrypted SSH keys to the agent upon spawning. Please note
30 that encrypted SSH keys can only be added via ssh-add after having
32 - Ability to have different keys in different agents for security purposes.
34 - To use multi-SSH agents, start ssh agent with the --name flag. The
35 given name is expected to be a folder under ~/.ssh/name containing the
36 keys to include in the agent.
38 homepage = "https://github.com/kalbasit/ssh-agents";
39 license = licenses.mit;
40 maintainers = with maintainers; [ kalbasit ];
41 platforms = platforms.unix;
42 mainProgram = "ssh-agents";