SSH-Agent Windows Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<pre>
+
=Dienst starten=
# By default the ssh-agent service is disabled. Allow it to be manually started for the next step to work.
+
*Get-Service ssh-agent | Set-Service -StartupType Automatic
# Make sure you're running as an Administrator.
 
Get-Service ssh-agent | Set-Service -StartupType Manual
 
  
# Start the service
+
*https://docs.microsoft.com/de-de/windows-server/administration/openssh/openssh_keymanagement
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>
 

Aktuelle Version vom 3. Februar 2022, 12:46 Uhr

Dienst starten

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