Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant scp not finding machine on windows #8239

Closed
axelabs opened this issue Jan 30, 2017 · 1 comment
Closed

vagrant scp not finding machine on windows #8239

axelabs opened this issue Jan 30, 2017 · 1 comment

Comments

@axelabs
Copy link

axelabs commented Jan 30, 2017

When attempting to use the scp plugin on Windows and using a full path to a local file, vagrant errors with: "The machine with the name 'C' was not found configured forthis Vagrant environment."

Vagrant version

1.9.1

Host operating system

Windows 10 Home
git version 2.11.0.windows.1
GNU bash, version 4.3.46(2)-release (x86_64-pc-msys)

Guest operating system

bento/centos-7.2

Debug output

https://gist.github.com/axelabs/13d797b812285974f8aeeedc221c1736

Expected behavior

me@win10desktop MINGW64 ~/Vagrant/centos7
$ vagrant.exe scp /c/Users/me/Downloads/file.zip :/tmp/
file.zip 100%

Actual behavior

me@win10desktop MINGW64 ~/Vagrant/centos7
$ vagrant.exe scp /c/Users/me/Downloads/file.zip :/tmp/
The machine with the name 'C' was not found configured for
this Vagrant environment.

Steps to reproduce

Attempt to copy any file by full path into the VM.

Workaround

I was able to copy the file.zip into the Vagrant machine's directory and use:
$ vagrant.exe scp ./file.zip :/tmp/

@kikitux
Copy link
Contributor

kikitux commented Jan 31, 2017

Hi @axelabs

I am afraid vagrant-scp is not a core plugin, so is not much what we can do here.

could you try use relative path, maybe is a escape issue, etc.

But will be better if you open an issue on the plugin repo.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants