Fix a bug where ssh-copy-id would fail with "EOF: command not found": https://github.com/openssh/openssh-portable/pull/206 Patch copied from upstream source repository: https://github.com/openssh/openssh-portable/commit/d9e727dcc04a52caaac87543ea1d230e9e6b5604 From d9e727dcc04a52caaac87543ea1d230e9e6b5604 Mon Sep 17 00:00:00 2001 From: Oleg Date: Thu, 1 Oct 2020 12:09:08 +0300 Subject: [PATCH] Fix `EOF: command not found` error in ssh-copy-id --- contrib/ssh-copy-id | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 392f64f94..a76907717 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -247,7 +247,7 @@ installkeys_sh() { # the -z `tail ...` checks for a trailing newline. The echo adds one if was missing # the cat adds the keys we're getting via STDIN # and if available restorecon is used to restore the SELinux context - INSTALLKEYS_SH=$(tr '\t\n' ' ' <<-EOF) + INSTALLKEYS_SH=$(tr '\t\n' ' ' <<-EOF cd; umask 077; mkdir -p $(dirname "${AUTH_KEY_FILE}") && @@ -258,6 +258,7 @@ installkeys_sh() { restorecon -F .ssh ${AUTH_KEY_FILE}; fi EOF + ) # to defend against quirky remote shells: use 'exec sh -c' to get POSIX; printf "exec sh -c '%s'" "${INSTALLKEYS_SH}" /guix/commit/gnu/services/getmail.scm?id=12b9810ede8795ff633145ccec4dd99482865cd8'>commitdiff
path: root/gnu/services/getmail.scm
AgeCommit message (Expand)Author
2020-01-30services: getmail: Fix spelling of "address"....* gnu/services/getmail (getmail-retriever-configuration): Fix typo. Vagrant Cascadian
2020-01-20services: getmail: Adjust a couple of default configuration values....Change the message-log-syslog and message-log-verbose configuration values to match the Getmail defaults. * gnu/services/getmail.scm (getmail-options-configuration): Change defaults for message-log-syslog and message-log-verbose * doc/guix.texi (Mail Services): Update the Getmail documentation accordingly. Christopher Baines
2020-01-20services: getmail: Fix some configuration documentation strings....* gnu/services/getmail.scm (getmail-retriever-configuration): Specify proper documentation strings for some of the fields. * doc/guix.texi (Mail Services): Update the documentation accordingly. Christopher Baines
2020-01-20services: getmail: Fix stopping the shepherd service....* gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component to the shepherd services. Christopher Baines