PowerShell / PowerShell/Win32-OpenSSH
debug1: Remote: Agent forwarding disabled: mkdtemp() failed: No such file or directory
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
"OpenSSH for Windows" version
v8.0.0.0p1-Beta
Server OperatingSystem
Windows 10
What is failing
sshd is trying to create C:\tmp
debug1: Remote: Agent forwarding disabled: mkdtemp() failed: No such file or directory
Common scenario for ssh agent forwarding for connecting from linux to windows and then go on on anotherbox.
linux1 forward agent --> windows use agent --> linux2
workaround for mktemp
creating C:\tmp manually and the remote error disappears but agent forwarding still not working.
sshd tries to use unix sockets instead of named pipe.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified in the issue. Reproduce the Linux-to-Windows-to-Linux agent-forwarding scenario, then trace sshd's agent-forwarding temporary-directory and socket handling on Windows. Done means forwarding works without manually creating C:\tmp and uses a Windows-compatible named pipe rather than a Unix socket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking, operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100