-
Notifications
You must be signed in to change notification settings - Fork 73
Rsync authentication issue #12
Comments
I am sorry but I don't know what can be the problem. You know Windows is not supported either as a deploy environment or either as a remote environment. Let me know if you find the problem. |
@neoziro I didn't realize it was platform limited. I'd love to help out to bring about Windows as an environment from which you can deploy. It seems like the only issue currently is the improper key usage for rsync or something. I looked through the code of Shipit for the remote copy and besides the pathing (using Also, question, is there a reason why the files get built locally and rsynced/etc. rather than checking out the repo remotely? |
@AntJanus did you resolve your problem? Yes the reason is that in most of case, the build phase is very expensive in term of CPU (uglify, etc..) so I prefer to do it on a CI server or on my machine to prevent lags on the remote server. It's not a good practice to run the build on a production server. |
@neoziro I never really resolved the issue of using a custom ssh key and specifying the path to the key; however, adding the key to my |
@AntJanus OK weird. I close it. |
Yeah, I guess. Well, at least there's an issue open now that anyone with a Windows machine can review in case they encounter the same problem. |
Should be fixed by #49 |
@neoziro thanks! I'll have to try this out :) |
I'm trying to deploy an app and while Shipit has no trouble whatsoever with logging into to the server (and creating new folders, etc.), Rsync fails on authentication. Here's my config:
The SSH key is included in the Repo (and that's on purpose). Using
ssh beta@my-site.com -i provisioning/files/ssh/id_rsa
logs me in no problem; however, whenever I runshipit beta deploy
, I get this error:Which I'm not understanding at all since the key is straightforward and declared in the app and I can already use it to log in from the command line.
I'm on a windows machine btw, so I wonder if the
workspace
variable is what is messing it up. I could not get a clear understanding as to where that directory is supposed to be, locally or remote. But it doesn't seem to matter.Thoughts?
The text was updated successfully, but these errors were encountered: