b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
11 lines
353 B
Nix
11 lines
353 B
Nix
{ runCommand, openssh }:
|
|
|
|
runCommand "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
|
|
''
|