SSH-Agent Windows Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
<pre>
+
=Dienst starten=
# By default the ssh-agent service is disabled.
+
*Get-Service ssh-agent | Set-Service -StartupType Automatic
# 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
 
</pre>
 

Version vom 9. November 2021, 07:19 Uhr

Dienst starten

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