forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference SHA256 instead of MD5 in documentation about SSH to reflect…
… new UI (github#15857)
- Loading branch information
1 parent
abb0abe
commit fb0dc61
Showing
10 changed files
with
61 additions
and
17 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ To make sure you are connecting to the right domain, you can enter the following | |
|
||
```shell | ||
$ ssh -vT git@{% data variables.command_line.codeblock %} | ||
> OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 | ||
> OpenSSH_8.1p1, LibreSSL 2.7.3 | ||
> debug1: Reading configuration data /Users/<em>you</em>/.ssh/config | ||
> debug1: Reading configuration data /etc/ssh_config | ||
> debug1: Applying options for * | ||
> debug1: Connecting to {% data variables.command_line.codeblock %} [IP ADDRESS] port 22. | ||
> debug1: Reading configuration data /etc/ssh/ssh_config | ||
> debug1: /etc/ssh/ssh_config line 47: Applying options for * | ||
> debug1: Connecting to {% data variables.command_line.codeblock %} port 22. | ||
``` | ||
|
||
The connection should be made on port 22{% if currentVersion == "free-pro-team@latest" %}, unless you're overriding settings to use [SSH over HTTPS](/articles/using-ssh-over-the-https-port){% endif %}. | ||
|
@@ -51,7 +51,7 @@ $ ssh -T git@{% data variables.command_line.codeblock %} | |
{% mac %} | ||
{% data reusables.command_line.open_the_multi_os_terminal %} | ||
2. Verify that you have a private key generated and loaded into SSH. If you're using OpenSSH 6.7 or older: | ||
2. Verify that you have a private key generated and loaded into SSH. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
# start the ssh-agent in the background | ||
$ eval "$(ssh-agent -s)" | ||
|
@@ -68,6 +68,14 @@ $ ssh -T git@{% data variables.command_line.codeblock %} | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>you</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
# start the ssh-agent in the background | ||
$ eval "$(ssh-agent -s)" | ||
> Agent pid 59566 | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
{% endmac %} | ||
|
@@ -78,7 +86,7 @@ $ ssh -T git@{% data variables.command_line.codeblock %} | |
1. {% data reusables.desktop.windows_git_bash_turn_on_ssh_agent %} | ||
{% data reusables.desktop.windows_git_for_windows_turn_on_ssh_agent %} | ||
2. Verify that you have a private key generated and loaded into SSH. If you're using OpenSSH 6.7 or older: | ||
2. Verify that you have a private key generated and loaded into SSH. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>you</em>/.ssh/id_rsa (RSA) | ||
|
@@ -89,13 +97,18 @@ $ ssh -T git@{% data variables.command_line.codeblock %} | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>you</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
{% endwindows %} | ||
{% linux %} | ||
{% data reusables.command_line.open_the_multi_os_terminal %} | ||
2. Verify that you have a private key generated and loaded into SSH. If you're using OpenSSH 6.7 or older: | ||
2. Verify that you have a private key generated and loaded into SSH. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
# start the ssh-agent in the background | ||
$ eval "$(ssh-agent -s)" | ||
|
@@ -112,6 +125,12 @@ $ ssh -T git@{% data variables.command_line.codeblock %} | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>you</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
{% endlinux %} | ||
|
@@ -167,7 +186,7 @@ You must provide your public key to {% data variables.product.product_name %} to | |
$ eval "$(ssh-agent -s)" | ||
> Agent pid 59566 | ||
``` | ||
3. Find and take a note of your public key fingerprint. If you're using OpenSSH 6.7 or older: | ||
3. Find and take a note of your public key fingerprint. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
|
@@ -178,6 +197,11 @@ You must provide your public key to {% data variables.product.product_name %} to | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
{% data reusables.user_settings.access_settings %} | ||
{% data reusables.user_settings.ssh %} | ||
|
@@ -194,7 +218,7 @@ You must provide your public key to {% data variables.product.product_name %} to | |
$ ssh-agent -s | ||
> Agent pid 59566 | ||
``` | ||
3. Find and take a note of your public key fingerprint. If you're using OpenSSH 6.7 or older: | ||
3. Find and take a note of your public key fingerprint. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
|
@@ -205,6 +229,11 @@ You must provide your public key to {% data variables.product.product_name %} to | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
{% data reusables.user_settings.access_settings %} | ||
{% data reusables.user_settings.ssh %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,15 +21,15 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
|
||
{% tip %} | ||
|
||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys. ![Unverified SSH key](/assets/images/help/settings/settings-ssh-key-review-highlight.png) | ||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys. | ||
|
||
{% endtip %} | ||
|
||
4. Open Terminal. | ||
|
||
5. {% data reusables.command_line.start_ssh_agent %} | ||
|
||
6. Find and take a note of your public key fingerprint. If you're using OpenSSH 6.7 or older: | ||
6. Find and take a note of your public key fingerprint. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
|
@@ -40,6 +40,11 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
7. The SSH keys on {% data variables.product.product_name %} *should* match the same keys on your computer. | ||
|
@@ -54,7 +59,7 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
{% tip %} | ||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys.![Unverified SSH key](/assets/images/help/settings/settings-ssh-key-review-highlight.png) | ||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys. | ||
{% endtip %} | ||
|
@@ -64,7 +69,7 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
{% data reusables.desktop.windows_git_for_windows_turn_on_ssh_agent %} | ||
6. Find and take a note of your public key fingerprint. If you're using OpenSSH 6.7 or older: | ||
6. Find and take a note of your public key fingerprint. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
|
@@ -75,6 +80,11 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
7. The SSH keys on {% data variables.product.product_name %} *should* match the same keys on your computer. | ||
|
@@ -89,15 +99,15 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
{% tip %} | ||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys. ![Unverified SSH key](/assets/images/help/settings/settings-ssh-key-review-highlight.png) | ||
**Note:** If you're auditing your SSH keys due to an unsuccessful Git operation, the unverified key that caused the [SSH key audit error](/articles/error-we-re-doing-an-ssh-key-audit) will be highlighted in the list of SSH keys. | ||
{% endtip %} | ||
4. Open Terminal. | ||
5. {% data reusables.command_line.start_ssh_agent %} | ||
6. Find and take a note of your public key fingerprint. If you're using OpenSSH 6.7 or older: | ||
6. Find and take a note of your public key fingerprint. {% if currentVersion ver_lt "[email protected]" %}If you're using OpenSSH 6.7 or older: | ||
```shell | ||
$ ssh-add -l | ||
> 2048 <em>a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
|
@@ -108,6 +118,11 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an | |
$ ssh-add -l -E md5 | ||
> 2048 <em>MD5:a0:dd:42:3c:5a:9d:e4:2a:21:52:4e:78:07:6e:c8:4d</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
``` | ||
{% else %} | ||
```shell | ||
$ ssh-add -l -E sha256 | ||
> 2048 <em>SHA256:274ffWxgaxq/tSINAykStUL7XWyRNcRTlcST1Ei7gBQ</em> /Users/<em>USERNAME</em>/.ssh/id_rsa (RSA) | ||
```{% endif %} | ||
7. The SSH keys on {% data variables.product.product_name %} *should* match the same keys on your computer. | ||
|