'Is it possible to transfer files between Android devices via scp?

I'm trying to transfer files between Android devices via the scp protocol. Is this possible? I keep getting:

ssh: unable to connect to host [remote ip address] port 22: Connection refused scp connection closed

after using the command

scp testFile.txt remoteDevice@ipAddress:path/to/directory

I can ssh into each device without issue, but the scp function seems to not work. Am I asking too much from my Android devices, do I need to download an additional module via termux, or is this simply not possible?

Thanks in advance for any help and advice.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source