microsoft:allgemeines:openssh
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| microsoft:allgemeines:openssh [2023/03/22 03:50] – created admin | microsoft: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 | ||
| + | |||
| + | </ | ||
| ===== Key Pair erstellen ===== | ===== Key Pair erstellen ===== | ||
| - | < | + | < |
| ssh-keygen -t rsa -b 4096 -C " | ssh-keygen -t rsa -b 4096 -C " | ||
| </ | </ | ||
| Line 11: | Line 18: | ||
| ===== SSH-Agent aktivieren ===== | ===== SSH-Agent aktivieren ===== | ||
| - | < | + | < |
| 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 | ||
| </ | </ | ||
| ===== Hilfe zu den Befehlen ===== | ===== Hilfe zu den Befehlen ===== | ||
| + | |||
| + | '' | ||
| + | <code batch > | ||
| + | usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] | ||
| + | [-b bind_address] [-c cipher_spec] [-D [bind_address: | ||
| + | [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] | ||
| + | [-i identity_file] [-J [user@]host[: | ||
| + | [-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[: | ||
| + | </ | ||
| '' | '' | ||
| - | < | + | < |
| 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: | ||
| '' | '' | ||
| - | < | + | < |
| usage: ssh-add [options] [file ...] | usage: ssh-add [options] [file ...] | ||
| Options: | Options: | ||
microsoft/allgemeines/openssh.1679453407.txt.gz · Last modified: (external edit)