ssh-copy-id probem on 3.1.7(0.340/5/3)
Chad Dougherty
dougherty477@comcast.net
Thu Nov 19 17:18:06 GMT 2020
On 2020-11-12 20:24:59, Bruno Iglesias wrote:
> Hi,
>
> When i try to copy a ssh key with ssh-copy-id receive this error and
> not copy de key:
>
> ssh-copy-id biglesias@pve1
> /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed:
> "/home/bruno/.ssh/id_rsa.pub"
> /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s),
> to filter out any that are already installed
> /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you
> are prompted now it is to install the new keys
> /usr/bin/ssh-copy-id: línea 251: aviso: el documento-aquí en la línea
> 251 está delimitado por fin-de-fichero (se esperaba `EOF')
> /usr/bin/ssh-copy-id: línea 250: aviso: el documento-aquí en la línea
> 250 está delimitado por fin-de-fichero (se esperaba `EOF')
> /usr/bin/ssh-copy-id: línea 260: EOF: no se encontró la orden
> biglesias@pve1's password:
>
> Number of key(s) added: 1
>
> The result of ssh -V is
> OpenSSH_8.4p1, OpenSSL 1.1.1f 31 Mar 2020
>
> The same error is reported in redhat list:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1884231
>
> and Clear Linux Project:
>
> https://github.com/clearlinux/distribution/issues/2166
>
I also have this problem. I noticed that it resulted in an
authorized_keys file being installed in my *local* ~/.ssh/ directory
instead of on the remote system.
I worked around it by installing a copy of the old ssh-copy-id script in
my personal bin directory.
--
-Chad
More information about the Cygwin
mailing list