<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div>Good morning,<br></div><div><br></div><div>I'm having a problem with the "ssh-copy-id" script and would appreciate some guidance on troubleshooting.<br></div><div><br></div><div>I have a Raspberry 3B+ running the latest Raspbian/RaspberryOS. I like to SSH to the Pi without using a password and I'm therefore using SSH keys.<br></div><div><br></div><div>The problem...<br></div><div><br></div><div>I can SSH to the Pi with a password, but when I use ssh-copy-id to copy my SSH key it simply hangs. No crash, no error, just hangs. I can see the SSH connection/authentication is successful from following the journal on the Pi. It seems the copy doesn't complete.<br></div><div><br></div><div>If I manually add my SSH key to the Pi I can connect without using a password.<br></div><div><br></div><div>Any suggestions as to why this is happening?  ssh-copy-id doesn't seem to have an option to provide a verbose output that would allow me to see where it's hanging.<br></div><div><br></div><div>I tried the ssh-copy-id from another laptop, running Ubuntu 20.04, and it worked fine. As did running a simple ansible ad-hoc command. Even the SSH extension for VS code worked. This led me to try installing a fresh OS on the original laptop. The laptop I was trying to connect from was running Ubuntu 20.04. I've since installed Kubuntu 20.04 (I wanted to try KDE anyway) and still the same issue is occurring.<br></div><div><br></div><div>Any suggestions welcome.<br></div><div><br></div><div>Regards,<br></div><div><br></div><div>John<br></div><div style="16px">-----------<br></div>  </body>
</html>