Differences
This shows you the differences between the selected revisions of the page.
| 2019-08-22 | 2019-09-06 | ||
| old revision restored - "Alternatively" to what? The section does not indicate any specific way to create the folder. + Why "Administrative"? Quite on the contrary, one should use a regular command prompt to ensure the correct ownership (martin) | no summary (187.189.90.62) | ||
| Line 48: | Line 48: | ||
| <code batch> | <code batch> | ||
| for %f in (%ProgramData%\ssh\ssh_host_*_key) do .\ssh-keygen.exe -l -f "%f" | for %f in (%ProgramData%\ssh\ssh_host_*_key) do .\ssh-keygen.exe -l -f "%f" | ||
| + | |||
| + | or | ||
| + | $files= @(Get-childItem $env:ProgramData\ssh\ssh_host_*_key); foreach ($f in $files) { C:\Windows\System32\OpenSSH\ssh-keygen.exe -l -f "$f"} | ||
| </code> | </code> | ||