-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
I receive an exception when trying to run this utility.
note I am using ssh certificates.
me@wsl2_host ~/cat .zshrc | grep wsl2
eval $($HOME/wsl2-ssh-agent)
Do you have any idea what's happening here?
me@wsl2_host$ ~/ ./wsl2-ssh-agent --verbose --foreground
[L] 2024/03/26 16:30:22 start listening on /home/me/.ssh/wsl2-ssh-agent.sock
[L] 2024/03/26 16:30:22 invoking [W] in PowerShell.exe
[W] 2024/03/26 16:30:23 ssh-agent.exe version: 8.6.0.1 (ignoreOpenSSHExtensions: True)
[L] 2024/03/26 16:30:23 [W] invoked successfully
[W] 2024/03/26 16:30:23 ready: PSVersion 5.1.22621.2506
[L] 2024/03/26 16:30:28 ssh: connected
[L] 2024/03/26 16:30:28 ssh -> [L] (5 B)
[L] 2024/03/26 16:30:28 [L] -> [W] (5 B)
[W] 2024/03/26 16:30:28 [W] named pipe: connected
[W] 2024/03/26 16:30:28 [L] -> [W] -> ssh-agent.exe (5 B)
[L] 2024/03/26 16:30:28 [L] <- [W] (9 B)
[L] 2024/03/26 16:30:28 ssh <- [L] (9 B)
[W] 2024/03/26 16:30:28 [L] <- [W] <- ssh-agent.exe (9 B)
[W] 2024/03/26 16:30:28 [W] named pipe: disconnected
[L] 2024/03/26 16:30:42 ssh -> [L] (747 B)
[L] 2024/03/26 16:30:42 [L] -> [W] (747 B)
[W] 2024/03/26 16:30:42 [W] named pipe: connected
[W] 2024/03/26 16:30:42 [L] -> [W] -> ssh-agent.exe (747 B)
[W] 2024/03/26 16:30:42 [W] named pipe: disconnected
wsl2-ssh-agent.ps1: terminated
Exception calling "Write" with "3" argument(s): "Value cannot be null.
Parameter name: buffer"
At line:33 char:5
+ $ssh_client_out.Write($buf, 0, $buf.Length)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentNullException
[L] 2024/03/26 16:30:52 failed to read from [W]: read |0: i/o timeout
[L] 2024/03/26 16:30:52 [W] terminated; retry
[L] 2024/03/26 16:30:52 invoking [W] in PowerShell.exe
[W] 2024/03/26 16:30:53 ssh-agent.exe version: 8.6.0.1 (ignoreOpenSSHExtensions: True)
[L] 2024/03/26 16:30:53 [W] invoked successfully
[L] 2024/03/26 16:30:53 [L] -> [W] (747 B)
[W] 2024/03/26 16:30:53 ready: PSVersion 5.1.22621.2506
[W] 2024/03/26 16:30:53 [W] named pipe: connected
[W] 2024/03/26 16:30:53 [L] -> [W] -> ssh-agent.exe (747 B)
[W] 2024/03/26 16:30:53 [W] named pipe: disconnected
wsl2-ssh-agent.ps1: terminated
Exception calling "Write" with "3" argument(s): "Value cannot be null.
Parameter name: buffer"
At line:33 char:5
+ $ssh_client_out.Write($buf, 0, $buf.Length)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentNullException
Metadata
Metadata
Assignees
Labels
No labels