Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Can't copy ssh from Ubuntu server to Rpi
I have a digitalocean server that i want to use to orchestrate a couple of RPies with Ansible. I have created the key pair and i’m trying to ssh-copy-id pi@#####… but all i get is this:
/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: ERROR: ssh: connect to host ###.###.###.### port 22: Connection timed out
At first I thought it was a firewall issue, but when i connect the Rpies directly with ethernet cables through a switch and try again I still get the same output in the terminal..
It might be an issue with already generated or stored keys on the RPies?
Anybody who know what could be the obstacle?
All help would be much appreciated
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×