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: .github/instructions/testing.instructions.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,13 +107,13 @@ In this scenario, do not create a temporary local user and random password. Inst
107
107
### Steps
108
108
1. Open terminal A in the build output directory and run sshd in foreground debug mode:
109
109
```pwsh
110
-
cd .\contrib\win32\openssh\x64\Release
110
+
cd .\bin\x64\Release
111
111
.\sshd.exe -ddd
112
112
```
113
113
114
114
2. Open terminal B and attempt local key-based connection:
115
115
```pwsh
116
-
ssh localhost
116
+
.\ssh.exe localhost
117
117
```
118
118
119
119
3. Confirm validation success by checking both sides:
@@ -124,6 +124,8 @@ ssh localhost
124
124
- This mode is intended for machines that already have admin key-based auth configured.
125
125
- Keep `sshd -ddd` running only for validation and stop it after the test.
126
126
- Use this scenario instead of `Test-OpenSSHFunctionality` when declared in the prompt.
127
+
- Use the rebuilt client and server from the same output directory (`.\bin\x64\Release`) to avoid version-mismatch handshake artifacts.
128
+
- Do not run extra port probes (for example `Test-NetConnection localhost -Port 22`) between starting `sshd -ddd` and the first `ssh` attempt; probes can consume the one foreground debug session and produce misleading connection-reset/refused behavior.
0 commit comments