francoismichel / francoismichel/ssh3

Problem: WRN could not get window size: The handle is invalid. on Windows

Open
#141 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
5k
Forks
118
PR merge metrics
No merged PRs in 30d

Description

I start my ssh3 server by
```bash
ssh3-server -generate-public-cert myserver.domain -url-path /ssh3 -bind 0.0.0.0:22 -enable-password-login
```
---

When i'm using ssh3 client on windows to connect my Linux server,it shows `WRN could not get window size: The handle is invalid.` and then it stucks.
My command is like this:
```powershell
ssh3 -privkey private_key root@myserver.domain:22/ssh3
```

But it works well on my PC using Arch Linux.
I don't know if it is a bug....

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the Windows `ssh3` client command against the shown `ssh3-server` command, then trace the path that emits `WRN could not get window size`. Compare it with the working Arch Linux behavior; done means the Windows client no longer reports the invalid-handle warning or gets stuck during connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.