github ssh key generation
Windows
Key-based authentication in OpenSSH for Windows
# Set the sshd service to be started automatically
Get-Service -Name sshd | Set-Service -StartupType Automatic
# Now start the sshd service
Start-Service sshd
ssh-add returns with: "Error connecting to agent: No such file or directory"
In Windows PowerShell (run as admin):
Check the current status of ssh-agent:
Get-Service | ?{$_.Name -like '*ssh-agent*'} | select -Property Name, StartType, Status
Enable the Service if it is disabled:
Set-Service -Name ssh-agent -StartupType Manual
Start the Service:
Start-Service ssh-agent
Add your key as before:
ssh-add <path to the key>
Views | |
---|---|
1 | Total Views |
1 | Members Views |
0 | Public Views |
Actions | |
---|---|
0 | Likes |
0 | Dislikes |
0 | Comments |
Share by mail
Please login to share this webpage by email.