I am trying to SCP files from one computer to another however I get
exec request failed on channel 0".
When I use SSH however, I can get to the machine with no problems. I am using the SCP function in Cygwin if that helps.
What I found when searching online talked about the ".bashrc" file however the only one I found is "bash.bashrc".
This is the command I have used:
scp /filelocation/file user@hostname:/folderlocation
I also tried with the IP address instead of the hostname, but I have the same result.
I checked that the remote site has the SCP command.