microsoft:allgemeines:openssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
microsoft:allgemeines:openssh [2023/03/22 03:56] – [Hilfe zu den Befehlen] admin | microsoft:allgemeines:openssh [2024/02/17 19:03] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== SSH-Verbindung herstellen ===== | ===== SSH-Verbindung herstellen ===== | ||
- | < | + | < |
ssh user@example.com | ssh user@example.com | ||
Line 12: | Line 12: | ||
===== Key Pair erstellen ===== | ===== Key Pair erstellen ===== | ||
- | < | + | < |
ssh-keygen -t rsa -b 4096 -C " | ssh-keygen -t rsa -b 4096 -C " | ||
</ | </ | ||
Line 18: | 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 24: | Line 24: | ||
Start-Service -Name ssh-agent | Start-Service -Name ssh-agent | ||
ssh-add .\private.key | ssh-add .\private.key | ||
+ | ssh-add -l | ||
</ | </ | ||
Line 29: | Line 30: | ||
'' | '' | ||
- | < | + | < |
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] | usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] | ||
[-b bind_address] [-c cipher_spec] [-D [bind_address: | [-b bind_address] [-c cipher_spec] [-D [bind_address: | ||
Line 40: | Line 41: | ||
'' | '' | ||
- | < | + | < |
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 74: | Line 75: | ||
'' | '' | ||
- | < | + | < |
usage: ssh-add [options] [file ...] | usage: ssh-add [options] [file ...] | ||
Options: | Options: |
microsoft/allgemeines/openssh.1679453766.txt.gz · Last modified: 2024/02/17 19:03 (external edit)