I want to copy a local file from a Vagrant machine to my localhost, but I am getting an error message:
localhost
ssh: connect to host 127.0.0.1>
127.0.0.1>
Another option is cat the files to something local:
cat
vagrant ssh -c "sudo cat /home/vagrant/devstack/local.conf" > local.conf
This should also work for files that require root permissions (something the vagrant SCP plugin doesn't seem to support).