github / gh-ost

GitHub's Online Schema-migration Tool for MySQL
MIT License
12.11k stars 1.23k forks source link

# Set the sshd service to be started automatically #1379

Open GONNAGITU72 opened 4 months ago

GONNAGITU72 commented 4 months ago
          # 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-keygen -t ed25519# By default the ssh-agent service is disabled. Configure it to start automatically.

Make sure you're running as an Administrator.

Get-Service ssh-agent | Set-Service -StartupType Automatic

Start the service

Start-Service ssh-agent

This should return a status of Running

Get-Service ssh-agent

Now load your key files into ssh-agent

ssh-add $env:USERPROFILE.ssh\id_ed25519steps:

Originally posted by @GONNAGITU72 in https://github.com/github/docs/issues/31497#issuecomment-1932035980