fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


microsoft:allgemeines:openssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
microsoft:allgemeines:openssh [2023/03/22 03:50] – created adminmicrosoft:allgemeines:openssh [2024/02/17 19:03] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 :!: Nur unter Windows 11 getestet :!: Nur unter Windows 11 getestet
 +
 +===== SSH-Verbindung herstellen =====
 +
 +<code batch>
 +ssh user@example.com
 +
 +</code>
  
 ===== Key Pair erstellen ===== ===== Key Pair erstellen =====
  
-<code>+<code batch>
 ssh-keygen -t rsa -b 4096 -C "email@example.com" ssh-keygen -t rsa -b 4096 -C "email@example.com"
 </code> </code>
Line 11: Line 18:
 ===== SSH-Agent aktivieren ===== ===== SSH-Agent aktivieren =====
  
-<code>+<code powershell>
 Get-Service ssh-agent | Select StartType Get-Service ssh-agent | Select StartType
 Get-Service -Name ssh-agent | Set-Service -StartupType Manual Get-Service -Name ssh-agent | Set-Service -StartupType Manual
Line 17: Line 24:
 Start-Service -Name ssh-agent Start-Service -Name ssh-agent
 ssh-add .\private.key ssh-add .\private.key
 +ssh-add -l
 </code> </code>
  
 ===== Hilfe zu den Befehlen ===== ===== Hilfe zu den Befehlen =====
 +
 +''ssh''
 +<code batch >
 +usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
 +           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
 +           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
 +           [-i identity_file] [-J [user@]host[:port]] [-L address]
 +           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
 +           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
 +           [-w local_tun[:remote_tun]] destination [command]
 +</code>
  
 ''ssh-keygen'' ''ssh-keygen''
-<code>+<code batch>
 usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format] usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]
                   [-N new_passphrase] [-t dsa | ecdsa | ed25519 | rsa]                   [-N new_passphrase] [-t dsa | ecdsa | ed25519 | rsa]
Line 56: Line 75:
  
 ''ssh-add'' ''ssh-add''
-<code>+<code batch>
 usage: ssh-add [options] [file ...] usage: ssh-add [options] [file ...]
 Options: Options:
microsoft/allgemeines/openssh.1679453407.txt.gz · Last modified: 2024/02/17 19:03 (external edit)