I am using packer to build windows image by using SSH communicator. I am not using WinRm because of large file size(.exe) which I have to upload and later execute it manually. SSH is much fast compare to WinRM.
After uploading a file in created VM, I can see the file in Vm but when I am trying to execute or Insall. I am getting error “Access is denied” and This problem I am not facing with WinRM.
I have to use SSH because of file size. I tried changing access permission and all, but it did not work.
Kindly let me know why is it happening and also the solution;
Thanks in Advance