[Bug 2765] ssh-copy-id appears to hang indefinitely when the target user has no password

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 17 06:07:33 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=2765

Philip Hands <phil at hands.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil at hands.com

--- Comment #1 from Philip Hands <phil at hands.com> ---
Sorry for not doing anything about this bug till now.

I was just trying to reproduce it, before fixing it, and am failing to
do so.

I've tried this by hand, and I note that I'm being prompted for a
password, and simply hitting return does not allow me to log in.

I've also added this to the automated tests:

  https://gitlab.com/phil_hands/ssh-copy-id/-/tree/bug/2765

but (assuming the logs are still there by the time you read this)
you'll see here:

  https://gitlab.com/phil_hands/ssh-copy-id/-/jobs/741757388

that it prompts for the user's password repeatedly, and the test
doesn't manage to log in, so it also fails to provoke the behaviour.

I'm not aware of any problem with adding a </dev/null but it would be
nice to be able to demonstrate that it's needed.

Cheers, Phil.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list