Skip to content

Windows: When I try to connect via ssh I get an error Missing closing ')' in expression. #42618

@skogata

Description

@skogata

Summary

When I try to connect via ssh I get an error

Description

Steps to trigger the problem:

  1. When I try to connect via ssh, error is Missing closing ')' in expression.
  2. The problem seems to be that () is used in the Windows account name and in users path.

Expected Behavior:
connect to ssh
Actual Behavior:
popup error dialog

Zed Version and System Specs

Zed: v0.212.3 (Zed)
OS: Windows 10.0.26200
Memory: 31.6 GiB
Architecture: x86_64
GPU: Intel(R) Arc(TM) Graphics || Intel Corporation || 32.0.101.7040

If applicable, attach your Zed.log file to this issue.

2025-11-13T11:48:36+09:00 INFO  [zed] ========== starting zed version 0.212.3, sha 7a7a92d ==========
2025-11-13T18:59:55+09:00 ERROR [recent_projects::remote_connections] Failed to open project: failed to connect: At C:\Users\JP-IT(OS)-K.S\AppData\Local\Temp\zed-askpassHoWX38\askpass.ps1:3 char:198
+ ... -IT(~1.SAT\AppData\Local\Temp\zed-askpassHoWX38\askpass.sock 2> $null
+                                                                          ~
Missing closing ')' in expression.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndParenthesisInExpression
 
Host key verification failed.

2025-11-13T19:01:29+09:00 INFO  [gpui::platform::windows::directx_renderer] Updating monochrome_sprite_pipeline buffer size from 1024 to 2048
2025-11-13T19:02:35+09:00 WARN  [fs] Failed to watch /etc/ssh/ssh_config and its parent directory /etc/ssh:
Input watch path is neither a file nor a directory.
Input watch path is neither a file nor a directory.
2025-11-13T19:02:39+09:00 ERROR [workspace::notifications] failed to connect: At C:\Users\JP-IT(OS)-K.S\AppData\Local\Temp\zed-askpassbJUpki\askpass.ps1:3 char:198
+ ... -IT(~1.SAT\AppData\Local\Temp\zed-askpassbJUpki\askpass.sock 2> $null
+                                                                          ~
Missing closing ')' in expression.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndParenthesisInExpression
 
Host key verification failed.

Metadata

Metadata

Assignees

Labels

platform:windowshappens only on Windows, not other OS

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions