I would like to be able to use SCP to copy files from a Pi to Win 7 machine. However, it has to work in a script running on the Pi. The problem is that I cannot establish a connection from the Pi to Win via SSH (the reverse can be done, obviously, but it's not what I need).
I read somewhere that a SSH server has to run on my windows machine to get this to work. I have WinSCP installed, is that enough? When I run in Pi command line:
scp filename firstname.lastname@example.org:C
I get an error
ssh: connect to host ... port 22: Connection refused.