diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index a239b67ab..b86081850 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -163,7 +163,7 @@ module VagrantPlugins # Otherwise, it is a permission denied, so let's raise a proper # exception - raise Vagrant::Errors::SCPPermissionDenied, :path => from.to_s + raise Vagrant::Errors::SCPPermissionDenied, :path => to.to_s end protected