You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/README-Windows.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ pip install <device>-agent
46
46
47
47
First, ensure you have Python installed, as described in the above section. Next, ensure you have Git installed:
48
48
```
49
-
winget install -e --id Git.Git
49
+
winget install --id=Git.Git -e
50
50
```
51
51
52
52
Create a directory for the source code, and clone the repository. Before running this command, you may want to change to a directory where you usually hold documents or source code packages.
@@ -80,7 +80,7 @@ Click on the "Add a feature" button. In the "Find an available optional feature"
80
80
81
81
Alternatively, you can install the latest version using WinGet:
82
82
```
83
-
winget install "openssh beta"
83
+
winget install --id=Microsoft.OpenSSH.Beta -e
84
84
```
85
85
86
86
If using an older version of Windows, you can install it using Chocolatey instead:
@@ -111,14 +111,18 @@ You will be required to authorize the use of the key on the device.
111
111
112
112
#### Running as a service
113
113
114
-
Adding services to Windows requires the use of a third-party tool. The recommended tool for this task is [NSSM](https://nssm.cc/download). It can be installed using the direct link, or via Chocolatey:
114
+
Adding services to Windows requires the use of a third-party tool. The recommended tool for this task is [NSSM](https://nssm.cc/download). It can be installed using the direct link, or via WinGet:
115
+
```
116
+
winget install --id=NSSM.NSSM -e
117
+
```
118
+
Or using Chocolatey:
115
119
```
116
120
choco install nssm
117
121
```
118
122
119
123
To set up the service, use the following commands:
for /F "usebackq delims=" %A in (`where <device>-agent`) do nssm install "<device>-agent" "%A" """file:%USERPROFILE%/.ssh/<device>.pub""" -f --sock-path=\\.\pipe\openssh-ssh-agent
122
126
nssm set "<device>-agent" DisplayName "Hardware Device SSH Authentication Agent"
123
127
```
124
128
@@ -146,7 +150,7 @@ The SSH authentication agent is designed to work with OpenSSH and compatible pro
146
150
147
151
You may download the installer directly, or install it using WinGet:
148
152
```
149
-
winget install winssh-pageant
153
+
winget install --id=NathanBeals.WinSSH-Pageant -e
150
154
```
151
155
152
156
Once installed, it will automatically run on startup, and deliver key requests to any running SSH agent. This requires the agent to be running as a service. See the section above.
@@ -157,7 +161,7 @@ To use GPG on Windows, you will need [Gpg4win](https://www.gpg4win.org/).
157
161
158
162
You can [download it directly](https://www.gpg4win.org/thanks-for-download.html) or install it via WinGet
159
163
```
160
-
winget install -e --id GnuPG.Gpg4win
164
+
winget install --id=GnuPG.Gpg4win -e
161
165
```
162
166
Or using Chocolatey:
163
167
```
@@ -266,6 +270,17 @@ Error: Couldn't find a setup script in C:\Users\MyUser\AppData\Local\Temp\easy_i
266
270
```
267
271
Your Python version may be out of date. Follow the Python installation instructions above. Restart your administrative shell if the update is not being detected.
268
272
273
+
If while running you receive the following error:
274
+
```
275
+
failed to create process.
276
+
```
277
+
This may be caused by Python being installed in a folder that contains a space in its name. You will need to uninstall and reinstall Python in a different folder:
0 commit comments