Transferring files with SCP between raspberries

I was playing with Raspberry Pi Model B for quite a long time. I tweaked few settings, and wrote couple helper scripts. After some time second Raspberry Pi 2 arrived. I realized that most settings and scripts that were working on previous should do fine on a new one. I needed to copy few files from one Raspberry to another. For this purpose, I decided to use Secure Copy (SCP). This is a file-sending command over SSH. Raspbian OS already come with SCP installed, so you can use it right away. (it is missing you can install it by running the command sudo apt-get install scp).

Continue reading