Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9396c89

Browse files
committed
cleanup
1 parent569c505 commit9396c89

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ export SSH_AUTH_SOCK=${HOME}/.ssh/wsl-ssh-agent.sock
1818

1919
**NOTE:** If you are having issues using`wsl-ssh-agent-relay` with systemd try adding`:WSLInterop:M::MZ::/init:PF` to`/usr/lib/binfmt.d/WSLInterop.conf`. For example (thanks to[rkl110](https://github.com/rkl110) -[Microsoft/WSL - Issue 8843](https://github.com/microsoft/WSL/issues/8843)):
2020

21-
Alternatively if you prefer to properly use systemd support in WSL2 /etc/wsl.conf:
21+
```bash
22+
sudo sh -c'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf'
23+
```
24+
25+
Alternatively if you prefer to directly use systemd support in WSL2 /etc/wsl.conf:
2226

2327
```ini
2428
[boot]
@@ -55,10 +59,6 @@ You *really* have to be on WSL 2 in order for all of this to work - if you see e
5559

5660
**NOTE:** You may be running Linux distribution with OpenSSH version more recent than your Windows host has out of the box. Presently Ubuntu 22.04 and Arch both demonstrate this - communication with ssh-agent will fail. In such cases please visit[Windows OpenSSH](https://github.com/PowerShell/Win32-OpenSSH) development and update your Windows OpenSSH with latest release.
5761

58-
```bash
59-
sudo sh -c'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf'
60-
```
61-
6262
##Helper to interface with Windows ssh-agent.exe service from WSL1 (replacement for ssh-agent-wsl).
6363
[![GitHub Release](https://img.shields.io/github/release/rupor-github/wsl-ssh-agent.svg)](https://github.com/rupor-github/wsl-ssh-agent/releases)
6464

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp