Comments (8)
After spending some time trying to set up key-based authentication on windows, I gave up. It's honestly not worth it.
Note that you can still launch the connection from xpipe (I just can't do other stuff like the file browser) in the XPipe 9 PTB, if you enable the don't interact with systems setting for the connection. You should find that
from xpipe.
I assume that you are running the latest xpipe version? As a quick test, you can run the latest PTB build as there were many ssh changes: https://github.com/xpipe-io/xpipe-ptb
If that does not work, you can try running ssh -i ~/.ssh/windows11 [email protected] -T
and see whether that reproduces it. Note that if you run an ssh command in warp, it does run through the warp wrapper. I.e. you're not directly executing your local ssh client: https://docs.warp.dev/features/ssh. So you should try that in another terminal.
You can also try running the latest Windows SSH server from https://github.com/PowerShell/openssh-portable. One issue is that the SSH distribution included in windows is quite old, that has caused a few issues before.
from xpipe.
Appreciate the quick response!
So, just now, I did the following:
-
I downloaded the latest xpipe-ptb build, and resynced my linux connections, which got added perfectly no problem.
-
I tried to add the Windows 11 PC as a connection in xpipe-ptb, and it threw back the same error.
-
I totally understand what you mean by warp's wrapper because it doesn't work well when connecting to Windows.
-
So, in the regular terminal app, I ran
ssh -i ~/.ssh/windows11 [email protected] -T
, and it threw back this error:-
client_loop: send disconnect: Broken pipe
-
-
I also ran
ssh -i ~/.ssh/windows11 [email protected] -T
in warp, and it also threw back this same error.
-
-
I definitely have that exact OpenSSH installed, exactly for the reason you stated! π¬
from xpipe.
So it seems to have something to do with the -T
switch, i.e. the disabled pseudo terminal. You can try solutions listed in here:
- PowerShell/Win32-OpenSSH#1873
- https://unix.stackexchange.com/questions/602518/ssh-connection-client-loop-send-disconnect-broken-pipe-or-connection-reset but I don't think anything of that will work.
I can successfully connect to my Windows systems, so can't reproduce that.
If you have WSL on the windows host, you can try running an SSH server in WSL instead.
from xpipe.
Mannnnnnn I feel like nothing works for me the first time correctly, everβ¦ π’
As you fore-stated, none of these proposed solutions worked (for me)...
Solution Worked? | Link |
---|---|
Didn't Work (for me) | PowerShell/Win32-OpenSSH#1873 |
Didn't Work (for me) | https://unix.stackexchange.com/questions/602518/ssh-connection-client-loop-send-disconnect-broken-pipe-or-connection-reset |
This might be useful to you to mention, but when I try to add the Windows 11 PC as a Remote SSH connection, and it fails and throws back the Shell opener command was unsuccessful: client_loop: send disconnect: Broken pipe
, I click the "insights" on the bottom left, and I take the command that xpipe would've executed, I executed it in my terminal, and I was able to successfully SSH in:
ssh "windows11" -oStrictHostKeyChecking=accept-new -oRemoteCommand=none -oNoHostAuthenticationForLocalhost=yes -t
I think the only solution is transitioning completely over to Linux, forever.
This issue can be closed out because if Windows connections work for you, and no one else has brought this up, it might just be something odd on my Windows 11 system not allowing me to connect.
Thanks for your super quick assistance @crschnick ! I appreciate that more than anything else π
from xpipe.
Let me try my Windows 11 laptop, I only used it on Windows 10.
The insights work because that is what is executed to launch a terminal with -t
. The first connection by xpipe is made in the background with the -T
switch. I guess you can try running ssh user@host -T -vvv
to get some more output.
from xpipe.
Yeah, windows is on its last legs with me, and most definitely, it's not worth it.
Looks like I found a reason to go fully Linux.
Closing out this ticket!
from xpipe.
if you still have your window system, you can try this: #257 (comment)
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
- WIndows to Windows OpenSSH: Shell opener command was unsuccessful: client_loop: send disconnect: Connection reset HOT 13
- 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.