Comments (13)
This is probably related to #235
In short, Windows OpenSSH has always caused some problems. What you can try is running the command in the terminal with -T
instead of -t
to see whether it still works.
Most users that had to deal with Windows SSH problems used WSL as a gateway in xpipe when creating SSH connections, that works fine. So it's definitely isolated to Windows.
from xpipe.
But since this is getting quite frequent now, do you have anything enabled like special firewall settings? The problem with the Windows SSH issues were that I was never able to reproduce them.
from xpipe.
Yes, I run MalwareBytes' "Windows Firewall Control" for strict inbound/outbound blocking with prompting for unrecognized connection attempts. However, I do not observe any meaningful/relevant firewall log entries at the time of the failure on the host or client machines.
I have a background in software QA and would love to assist you in debugging this issue :)
Please feel free to make any requests from me that would help and I'll gladly do what I can. Love your software, use it daily, and would very much like to do what I can to contribute.
from xpipe.
Would it be possible to just temporarily disable some/these rules to check whether they are interfering with the connection?
from xpipe.
Completely disabled the firewall on both machines, no change :(
from xpipe.
Do you have WSL set up?
from xpipe.
Yup. I can work around it with WSL if necessary, but was hoping to get a direct connection to Windows pwsh working as I do run a fair number of powershell scripts.
fwiw I can confirm that:
- -T option reproduces the issue without xpipe, so this is probably an upstream bug that I can pursue
- The default shell isn't the issue; setting the default shell in windows to CMD produces the same error
from xpipe.
The thing is that the -T
is required for XPipe to interact with the system. You can enable the disabled system interaction option for a SSH connection in XPipe, but you won't have access to any advanced features other than launching the connection that way.
You could install pwsh in your WSL, that is also supported there.
You could install msys2/mingw/git for windows, that one has a straight port of the ssh executable as well that you can add to the PATH.
from xpipe.
Ohoho, possibly relevant: microsoft/vscode-remote-release#6521
Looks like this is similar to an issue that VS Code has, and is identified as a known issue with certain versions of OpenSSH server on Windows
Since you aren't able to reproduce the issue, can you tell me what version of OpenSSH you have installed on your Windows device (if you have one, of course)?
It looks like the version installed via Windows' "features" is 8.6. I'm going to try installing a more recent version via winget and see if that resolves the issue....
from xpipe.
I tested with multiple versions, they all work for me on multiple devices. It seems to be a more system specific issue.
from xpipe.
If you really want to spend time with this, the only thing that xpipe can do is pass some specific SSH options with -oKey=Value
. If you find an option that fixes this, then it can be implemented.
from xpipe.
Upgrading to the latest version (9.5 beta) of OpenSSH (plus the obligatory system reboot) works.
Guidance for future users: On the host machine, run the following from a Powershell prompt...
winget install Microsoft.OpenSSH.Beta --source winget
...then reboot your host machine. Note that if you have existing inbound firewall rules, you will need to create new ones as the path for this package will change from C:\Windows\System32\OpenSSH\sshd.exe
to C:\Program Files\OpenSSH\sshd.exe
from xpipe.
That is good to know. I tested with 8.1p1 and 9.5 back then and they both worked
from xpipe.
Related Issues (20)
- SSH Tunnel fails to connect when using ssh config from WSL2 HOT 1
- No matching key exchange HOT 5
- UI modal clipped bug in XFCE HOT 3
- FR: Option to move files in the integrated file manager HOT 8
- Existing Connections on ssh user config HOT 9
- Connection tree with sub-labels with the same name HOT 2
- Enabled Pro Preview but a feature is greyed HOT 3
- First sync HOT 7
- [Homebrew] Warning: No checksum defined for cask 'xpipe', skipping verification HOT 4
- [macOS] Getting jave exception when trying to launch ssh connection HOT 5
- NoMachine Integration HOT 1
- Strange WM_CLASS(STRING) HOT 6
- Bug Copying files HOT 3
- Tabby reports issue when connecting to Calix Router HOT 2
- Can't save files with new 9.2 version most of the time HOT 5
- Cannot sync through git repo in v9.2 on Mac HOT 7
- Terminal Configuration in Settings Fails on Preview with Canary and Stable Installed HOT 2
- why>? HOT 1
- Download speed release v9.3 xpipe-installer-linux-x86_64.deb is very slow HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpipe.