I'm struggling to copy a directory over from my ubuntu host to a ubuntu server in virtualbox.
following command dosen't work, connection refused.
sudo scp -r /media/disk/wordpress user@localhost:22:/var/www
nmap on ubuntu-server gives a warning - Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
not sure where i'm going wrong here. any help would be much appreciated.