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

gitsynch on Windows did not work as expected with private git repos #509

Closed
hoatle opened this issue Oct 17, 2018 · 7 comments
Closed

gitsynch on Windows did not work as expected with private git repos #509

hoatle opened this issue Oct 17, 2018 · 7 comments

Comments

@hoatle
Copy link
Member

hoatle commented Oct 17, 2018

image

phuonglm [6:22 PM]
hình như vagrant dùng ssh binary của nó
không phải ssh binary của cygwin
nên lỗi

hoatle [6:31 PM]
ko biết có liên quan tới lỗi này không hashicorp/vagrant#8739 (comment)

phuonglm [6:43 PM]
VAGRANT_PREFER_SYSTEM_BIN=true la ssh ok

Maybe we should set that env var on Windows system from teracy-dev as default?

@hoatle hoatle added this to the v0.6.0-a5-dev milestone Oct 17, 2018
@hoatle hoatle changed the title gitsync on windows did not work as expected for private git repos gitsynch on windows did not work as expected for private git repos Oct 17, 2018
@hoatle hoatle changed the title gitsynch on windows did not work as expected for private git repos gitsynch on Windows did not work as expected for private git repos Oct 17, 2018
@hoatle
Copy link
Member Author

hoatle commented Oct 17, 2018

related: #508

@hoatle
Copy link
Member Author

hoatle commented Oct 19, 2018

The bug happened on Cygwin (as we need Cygwin for rsync to work).

@hoatle hoatle added the comp:location location sync label Oct 19, 2018
@hoatle
Copy link
Member Author

hoatle commented Oct 26, 2018

we support >= Windows 7, so make sure to test on Windows 7, Windows 10 at least.

@hoatle hoatle changed the title gitsynch on Windows did not work as expected for private git repos gitsynch on Windows did not work as expected with private git repos Oct 26, 2018
@datphan
Copy link
Contributor

datphan commented Oct 26, 2018

we should have a docs for cygwin's user since I can not set this VAGRANT_PREFER_SYSTEM_BIN to be recognized by vagrant

On Windows

Press Windows + R then type services.msc and make sure OpenSSH Authentication Agent service is set to manual

Setup your ssh by following these steps https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/.
Then on cygwin terminal window, type:

$ cp -r /cygdrive/c/Users/$USER/.ssh ~/
$ export VAGRANT_PREFER_SYSTEM_BIN=true
$ vagrant status

@hoatle
Copy link
Member Author

hoatle commented Oct 26, 2018

@datphan: please send PR for docs and we’ll let @hoavt to test

@hoatle
Copy link
Member Author

hoatle commented Nov 1, 2018

@datphan a section or note for this issue should be documented here https://github.com/teracyhq/dev/blob/develop/docs/getting_started.rst

@hoatle hoatle assigned hoavt and unassigned datphan Nov 1, 2018
@hoatle
Copy link
Member Author

hoatle commented Nov 1, 2018

I guess @hoavt can update and verify the docs by following @datphan' instruction above, so assigned to @hoavt

hoavt added a commit to hoavt/teracy-dev that referenced this issue Nov 7, 2018
hoavt added a commit to hoavt/teracy-dev that referenced this issue Nov 7, 2018
@hoatle hoatle unassigned hoavt Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants