849ee4d900
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
11 lines
361 B
Nix
11 lines
361 B
Nix
{ runCommandNoCC, openssh }:
|
|
|
|
runCommandNoCC "ssh-copy-id-${openssh.version}" {
|
|
meta = openssh.meta // {
|
|
description = "A tool to copy SSH public keys to a remote machine";
|
|
priority = (openssh.meta.priority or 0) - 1;
|
|
};
|
|
} ''
|
|
install -Dm 755 {${openssh},$out}/bin/ssh-copy-id
|
|
install -Dm 644 {${openssh},$out}/share/man/man1/ssh-copy-id.1.gz
|
|
''
|