diff options
author | midchildan <git@midchildan.org> | 2021-04-08 21:53:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 14:53:06 +0200 |
commit | 2e2a36f08275ea1892ad94049696d33da654dcd7 (patch) | |
tree | 34abd8c17a413875954562a369135dbfc038f55e /pkgs/tools/networking/openssh | |
parent | 8865b1a8ce860e6b447d1ae0334405b9194aa6e5 (diff) |
ssh-copy-id: init at 8.4p1 (#105896)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r-- | pkgs/tools/networking/openssh/copyid.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/networking/openssh/copyid.nix b/pkgs/tools/networking/openssh/copyid.nix new file mode 100644 index 0000000000000..71baa6a23f1fb --- /dev/null +++ b/pkgs/tools/networking/openssh/copyid.nix @@ -0,0 +1,11 @@ +{ 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 +'' |