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