Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Windows support on the client-side? #130

Open
xparq opened this issue Aug 5, 2019 · 7 comments
Open

Windows support on the client-side? #130

xparq opened this issue Aug 5, 2019 · 7 comments

Comments

@xparq
Copy link

xparq commented Aug 5, 2019

I've seen #94, but from a generic user's perspective, and after just reading the README, and being vaguely familiar with the concept, I can see no obvious reason why the Go client-side should be Linux-only.

Adding Windows support seems a) relatively low-cost, and b) would be a huge benefit all alone, even regardless of any specific compiler toolkit support etc.

(Note: Linux-only server support is perfectly fine, a Linux dev. server + Win client is a common use case.)

So, basically out of curiosity: what's the actual roadblock that prevents it from "just working" on a Windows client? Thanks!

@Merith-TK
Copy link
Contributor

Merith-TK commented Aug 5, 2019 via email

@Merith-TK
Copy link
Contributor

Merith-TK commented Aug 5, 2019

#127 check out my PR for a more detailed list of issues I've noticed,

@xparq
Copy link
Author

xparq commented Aug 5, 2019

Thanks, great news overall!
(Alas, I can only vaguely guess, what could be causing that exec problem, like missing DLLs, incorrect use of quotes, char encoding mismatch etc. etc.)

@Merith-TK
Copy link
Contributor

Merith-TK commented Aug 5, 2019

surprisingly, no.
ssh.exe is preinstalled and (i think) C:\Windows\System32\OpenSSH on windows 10 path by default,

The issue is that sshcode exec's the program on the CLIENT SIDE by using sh with some other flags, and even when i make it exec ssh.exe directly, it says it cannot find the program to launch.

So currently the only way to use sshcode on windows (any version) is via git4win, cygwin, or msys2.
(assuming your using a fork or have modified it enough to use chrome.exe (see some of my earliar commits)

@Merith-TK
Copy link
Contributor

welp
Mingw enviroments now work. assuming you have rsync installed.

@Merith-TK
Copy link
Contributor

Fork is mostly functional, good for everyday simple usage

@Merith-TK
Copy link
Contributor

Merith-TK commented Nov 2, 2019

#132
refer to this PR from now on.

Currently fighting a minor issue where windows send ~/ as a literal path, so it is the equivalent of '~'/

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

No branches or pull requests

2 participants