ency revidoval tento gist 4 days ago. Přejít na revizi
1 file changed, 27 insertions
OpenSSH-Reference.md(vytvořil soubor)
| @@ -0,0 +1,27 @@ | |||
| 1 | + | ## OpenSSH Commands Reference | |
| 2 | + | ||
| 3 | + | </br> | |
| 4 | + | ||
| 5 | + | | Commands | Description | | |
| 6 | + | |:------------------------------------------------------- |------------------------------------------------------------------------------:| | |
| 7 | + | |`ssh -V` | Prints SSH-Agent verion information | | |
| 8 | + | |`ls -al ~/.ssh` | List existing SSH Keys from standard SSH folder in user profile folder | | |
| 9 | + | |`ssh-keygen -t rsa -b 4096 -C "your_email@example.com"`| Generating SSH Keys using SSH-Keygen tool of OpenSSH | | |
| 10 | + | |`eval $(ssh-agent -s)` | Starts the SSH-Agent in the background | | |
| 11 | + | |`ssh-add ~/.ssh/id_rsa` | Adds your Private key to SSH-Agent | | |
| 12 | + | |`ssh -T git@github.com` | Testing your GitBash authentication with Github | | |
| 13 | + | |`ssh-keygen -p` | Changing passphrase of an existing SSH Key | | |
| 14 | + | |`ssh-add -D` | For removing 'ALL' private keys from the SSH-Agent | | |
| 15 | + | |`ssh-add -d /home/user/.ssh/id_rsa` | For removing 'A Single' named private key from the SSH-Agent | | |
| 16 | + | |`eval $(ssh-agent -s)` | Starts the SSH-Agent | | |
| 17 | + | |`ssh-add -l` | To list the ssh-keys currently available with SSH-Agent | | |
| 18 | + | |`ssh-add -L` | With the -L option, the keys in the SSH-Agent can be listed as well. While the -l option shows the fingerprint for each key, the -L option shows the public key part of each key. | | |
| 19 | + | |`eval $(ssh-agent -s -k)` | To terminate the SSH-Agent the following command can be executed. kill the SSH-Agent.| | |
| 20 | + | ||
| 21 | + | <br/> | |
| 22 | + | ||
| 23 | + | ## Reference Links | |
| 24 | + | ||
| 25 | + | [Official OpenSSH Commands Reference](https://www.openssh.com/manual.html) | |
| 26 | + | ||
| 27 | + | </br> | |
Novější
Starší