PowerShell / PowerShell/Win32-OpenSSH

SSH client for Win10 hangs sometimes

Open
#1,334 23 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0 - Backlog Area-ssh Issue-Bug
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

Please answer the following

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)

Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)

Client OperatingSystem
Win10

What is failing
Sometimes SSH get hung when connecting to Ubuntu 16.04 64bit.
ssh -V
OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4

I got the debug trace with -vvv:
ssh.txt

Expected output
don't hang

Actual output
hang

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached ssh.txt debug trace and the reported ssh -vvv invocation, then review the Win10-to-Ubuntu 16.04 connection scenario described in the issue. Reproduce the intermittent hang if possible; done means the SSH client no longer hangs in the reported case and the behavior is covered by an appropriate verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.