SSH-Agent Windows Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ # 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…“)
 
Zeile 1: Zeile 1:
 
+
<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.
Zeile 12: Zeile 12:
 
# Now load your key files into ssh-agent
 
# Now load your key files into ssh-agent
 
ssh-add ~\.ssh\id_ed25519
 
ssh-add ~\.ssh\id_ed25519
 +
</pre>

Version vom 9. November 2021, 07:07 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