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

Added support for cygwin guest #131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zzambers
Copy link

@zzambers zzambers commented Mar 31, 2022

This adds support for cygwin guest to vagrant-sshfs plugin (scenario where vagrant connects to cygwin's ssh server, running on windows guest). Support for cygwin guest can by added to vagrant by installing my vagrant-guest-cygwin plugin [1] (If support for cygwin guest is required).

Host setup:
Install vagrant-guest-cygwin plugin [1] to vagrant.

Windows guest setup:

  1. Install cygwin with openssh
  2. Setup sshd
  • for creation of service + default config, following command should do (from cygwin terminal): ssh-host-config -y
  • add keys for your user
  1. Install WinFsp + SSHFS-Win
  • install winfsp [2]: select all components
  • from cygwin terminal: cd "/cygdrive/c/Program Files (x86)/WinFsp/opt/cygfuse/" && ./install.sh
  • download and install sshfs-win [2]
  • cp "/cygdrive/c/Program Files/SSHFS-Win/bin/sshfs.exe" /usr/bin
  1. Create some sort of dummy sudo (e.g. [3])

[1] https://github.com/zzambers/vagrant-guest-cygwin
[2] https://winfsp.dev/rel/
[3] https://superuser.com/a/122429

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

Successfully merging this pull request may close these issues.

1 participant