SSH-Agent Windows Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
<pre>
 
<pre>
# By default the ssh-agent service is disabled. Allow it to be manually started for the next step to work.
+
# By default the ssh-agent service is disabled.  
 +
# Allow it to be manually started for the next step to work.
 
# Make sure you're running as an Administrator.
 
# Make sure you're running as an Administrator.
 
Get-Service ssh-agent | Set-Service -StartupType Manual
 
Get-Service ssh-agent | Set-Service -StartupType Manual

Version vom 9. November 2021, 07:08 Uhr

# By default the ssh-agent service is disabled. 
# Allow it to be manually started for the next step to work.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Manual

# 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 ~\.ssh\id_ed25519