Does anyone get to the solution of the issue till date? plz share..
I think the solution should follow this action plan:
scp /home/pchpc/vms/file email@example.com:/root/
This has worked for me.
Hope this helps
Try to connect to vm with vm ip.
ssh -P 2222 someFiles firstname.lastname@example.org:/root