mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-22 21:45:09 +02:00
Updated Setting up a Git server on Windows using Git for Windows and Win32_OpenSSH (markdown)
parent
a50e1d0047
commit
27592200eb
@ -18,7 +18,7 @@
|
||||
1. Set environment variable for git to use Win32_OpenSSH
|
||||
|
||||
`$env:GIT_SSH_COMMAND = '"C:\Program Files\OpenSSH\ssh.exe" -T'`
|
||||
1. (Optional: for key based auth) For key based authentication to work, generate user private and public key. The generated public key need to copy to C:\Users\{user}\.ssh\authorizedkeys as indicated in step 5 on Server
|
||||
1. (Optional) For key based authentication to work, generate user private and public key. The generated public key need to copy to C:\Users\{user}\.ssh\authorized_keys as indicated in step 5 on Server
|
||||
|
||||
`ssh-keygen.exe -t ed25519 -f c:\test\myprivatekey`
|
||||
1. (Optional) Register the user private key for single sign on
|
||||
|
Loading…
x
Reference in New Issue
Block a user