SCP transfer to/from Raspberry (using passwordless SSH)
I was used to use Filezilla for transferring file between my Ubuntu laptop and Raspberry Pi Zero, but every time it took a while even if it was a matter of transferring small files.
The problem was the way of checking password (probably “double checking” password).
So I decided to leave Filezilla for using the SCP command with no password.
I configured a passwordless SCP following the instructions available here.
# cd $HOME/.ssh # mv id_rsa.pub id_rsa.pub-RPiZero
When I had to copy and paste the public key on my Raspberry Pi Zero board, I had to use the next command:
cat ~/.ssh/id_rsa.pub-RPiZero | ssh pi@<IP-ADDRESS> 'mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys'
Following the instructions reported in the links available above I was finally able to share small files between my computer and my Raspberry Pi Zero board in a short time, instead of wasting time with Filezilla.