Bug#975540: ssh-copy-id: patch for "/usr/bin/ssh-copy-id: 260: EOF: not found"
Lars Dölle <[email protected]>
| Newsgroups | gmane.linux.debian.devel.ssh |
|---|---|
| Message-ID | <2589158.irdbgypaU6__5849.29277408577$1606127965$gmane$org@cirrus7.localnet> |
Package: openssh-client Version: 1:8.4p1-2 Severity: normal In the indicated version, 'ssh-copy-id' fails to successfully copy the key. A typical invocation now issues the following error messages: | /usr/bin/ssh-copy-id: 254: cannot create /dev/null`: Permission denied | /usr/bin/ssh-copy-id: 260: EOF: not found The origin of the error can tracked down to line 250: | INSTALLKEYS_SH=$(tr '\t\n' ' ' <<-EOF) There, the closing parenthesis terminates the here-document '<<-EOF'. FIX: move the trailing ')' into a new line directly after the closing 'EOF' . See: https://github.com/openssh/openssh-portable/pull/206/files/ #diff-76f25d87bdb42afb3b6fe76947d8c696R250 Thanks and kind regards Lars Dölle