Deploying artifacts from Github Actions using SCP
Problem:
You need to push some artifacts from a Github Actions runner into a folder in a server where you only have SSH enabled.
[Full article]Problem:
You need to push some artifacts from a Github Actions runner into a folder in a server where you only have SSH enabled.
[Full article]How to add your private keys to the native Windows SSH client:
# 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_ecdsa