Skip to content

Commit

Permalink
+20
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 16, 2024
1 parent d7b81f6 commit 4845760
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ jobs:
# Get-Service ssh-agent
# Get-Service ssh-agent | Select StartType
# Get-Service -Name ssh-agent | Set-Service -StartupType Manual
# Start-Service -Name ssh-agent
where.exe start-ssh-agent
start-ssh-agent
# git config --global core.sshCommand "'C:\\Windows\\System32\\OpenSSH\\ssh.exe'"
Write-Host "ssh:"
where.exe ssh
Write-Host "ssh-add:"
where.exe ssh-add
Write-Host '-----'
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
Start-Service -Name ssh-agent
git config --global core.sshCommand "'C:\\Windows\\System32\\OpenSSH\\ssh.exe'"
# where.exe start-ssh-agent
# start-ssh-agent
# Set Key File Variable:
New-Variable -Name Key -Value "$env:UserProfile\.ssh\id_rsa"
Expand All @@ -60,9 +61,10 @@ jobs:
# Verify:
Icacls $Key
Write-Host 'Adding key:'
Write-Host 'Adding key $Key:'
ssh-add $Key
Write-Host '-----'
# Remove Variable:
Remove-Variable -Name Key
Expand Down

0 comments on commit 4845760

Please sign in to comment.