1 { lib, runCommand, openssh }:
3 runCommand "ssh-copy-id-${openssh.version}" {
4 meta = openssh.meta // {
5 description = "Tool to copy SSH public keys to a remote machine";
6 priority = (openssh.meta.priority or lib.meta.defaultPriority) - 1;
9 install -Dm 755 {${openssh},$out}/bin/ssh-copy-id
10 install -Dm 644 {${openssh},$out}/share/man/man1/ssh-copy-id.1.gz