SSH-Agent Windows Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
=Dienst starten=
=Dienst starten=
;Als Administrator - Einmalig
*Start-Service ssh-agent
*Start-Service ssh-agent
*Get-Service ssh-agent | Set-Service -StartupType Automatic
*Get-Service ssh-agent | Set-Service -StartupType Automatic
=SSH Handling=
;Als Benutzer
*C:\Users\adminuser>ssh-keygen
<pre>
Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\adminuser/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase): 123Start$
Enter same passphrase again: 123Start$
Your identification has been saved in C:\Users\adminuser/.ssh/id_ed25519
Your public key has been saved in C:\Users\adminuser/.ssh/id_ed25519.pub
The key fingerprint is:
SHA256:PB31jna08hKhi67I5RTlaYgiDQ6C4BwyHeURGpThnDo adminuser@CU26-01
The key's randomart image is:
+--[ED25519 256]--+
|++==+.      .    |
|*++= .    . .  |
|=o= .  . . . o  |
|++  . = o o = . |
|E.o . o S o = +  |
| o .  o o o =  |
|      o . . . .  |
|  . = .    .  |
|    o o..        |
+----[SHA256]-----+
</pre>


=Quellen=
*https://docs.microsoft.com/de-de/windows-server/administration/openssh/openssh_keymanagement
*https://docs.microsoft.com/de-de/windows-server/administration/openssh/openssh_keymanagement

Version vom 10. September 2025, 06:28 Uhr

Dienst starten

Als Administrator - Einmalig
  • Start-Service ssh-agent
  • Get-Service ssh-agent | Set-Service -StartupType Automatic

SSH Handling

Als Benutzer
  • C:\Users\adminuser>ssh-keygen
Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\adminuser/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase): 123Start$
Enter same passphrase again: 123Start$
Your identification has been saved in C:\Users\adminuser/.ssh/id_ed25519
Your public key has been saved in C:\Users\adminuser/.ssh/id_ed25519.pub
The key fingerprint is:
SHA256:PB31jna08hKhi67I5RTlaYgiDQ6C4BwyHeURGpThnDo adminuser@CU26-01
The key's randomart image is:
+--[ED25519 256]--+
|++==+.      .    |
|*++= .     . .   |
|=o= .   . . . o  |
|++   . = o o = . |
|E.o . o S o = +  |
| o .   o o o =   |
|      o . . . .  |
|   . = .     .   |
|    o o..        |
+----[SHA256]-----+


Quellen