with scp I can get a file
scp remoteA:file .
and put a file
scp file remoteB:
but when I try
scp remoteA:file remoteB:
I get
ssh: Could not resolve hostname remoteB: Name or service not known
lost connection
why?
EDIT:
the remoteA and remoteB description is in ~/.ssh/config