public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh-copy-id probem on 3.1.7(0.340/5/3)
@ 2020-11-12 20:24 Bruno Iglesias
  0 siblings, 0 replies; 2+ messages in thread
From: Bruno Iglesias @ 2020-11-12 20:24 UTC (permalink / raw)
  To: cygwin

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

Reguards

--

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ssh-copy-id probem on 3.1.7(0.340/5/3)
@ 2020-11-19 17:18 Chad Dougherty
  0 siblings, 0 replies; 2+ messages in thread
From: Chad Dougherty @ 2020-11-19 17:18 UTC (permalink / raw)
  To: Bruno Iglesias biglesias, cygwin; +Cc: Corinna Vinschen

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-19 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12 20:24 ssh-copy-id probem on 3.1.7(0.340/5/3) Bruno Iglesias
2020-11-19 17:18 Chad Dougherty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).