windows terminal ssh failed ,error shows "getsockname failed: Not a socket" #5130

Closed
opened 2026-01-31 00:05:47 +00:00 by claunia · 1 comment
Owner

Originally created by @jiang269189915 on GitHub (Nov 22, 2019).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable): 

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Any other software?

Steps to reproduce

my config
{
"acrylicOpacity" : 0.5,
"closeOnExit" : true,
"colorScheme" : "One Half Dark",
"commandline" : "ssh root@10.23.132.58",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 14,
"guid" : "{86fb6816-b0b2-4f89-a79d-34983302516d}",
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
"name" : "relay",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"startingDirectory" : "%USERPROFILE%",
"useAcrylic" : false
}
open the relay tab ,show error: getsockname failed: Not a socket

terminal con not access remote server

image

Originally created by @jiang269189915 on GitHub (Nov 22, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Any other software? ``` # Steps to reproduce my config { "acrylicOpacity" : 0.5, "closeOnExit" : true, "colorScheme" : "One Half Dark", "commandline" : "ssh root@10.23.132.58", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 14, "guid" : "{86fb6816-b0b2-4f89-a79d-34983302516d}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png", "name" : "relay", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : false } open the relay tab ,show error: getsockname failed: Not a socket terminal con not access remote server ![image](https://user-images.githubusercontent.com/16043624/69402319-70c97c00-0d32-11ea-9567-9c80321e65c1.png)
claunia added the Needs-Tag-Fix label 2026-01-31 00:05:47 +00:00
Author
Owner

@jiang269189915 commented on GitHub (Nov 22, 2019):

I've canceled ControlMaster in .ssh/config, then done

@jiang269189915 commented on GitHub (Nov 22, 2019): I've canceled ControlMaster in .ssh/config, then done
Sign in to join this conversation.
No Label Needs-Tag-Fix
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5130