Handy post from Richard Sentino.
I was trying to copy files to my Raspbian-based Raspberry Pi but I kept getting this error:
ssh: connect to host 192.168.178.79 port 22: Connection refused
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!