ssh-copy-id: init at 8.4p1 (#105896)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
midchildan 2021-04-08 21:53:06 +09:00 committed by GitHub
parent 8865b1a8ce
commit 2e2a36f082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -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
''

View file

@ -7113,6 +7113,8 @@ in
etcDir = "/etc/ssh";
};
ssh-copy-id = callPackage ../tools/networking/openssh/copyid.nix { };
opensp = callPackage ../tools/text/sgml/opensp { };
opentracker = callPackage ../applications/networking/p2p/opentracker { };