ran script/content-migrations/use-short-versions.js
This commit is contained in:
@@ -5,7 +5,7 @@ redirect_from:
|
||||
- /articles/deleted-or-missing-ssh-keys
|
||||
- /github/authenticating-to-github/deleted-or-missing-ssh-keys
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
fpt: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/error-agent-admitted-failure-to-sign
|
||||
- /github/authenticating-to-github/error-agent-admitted-failure-to-sign
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -5,9 +5,9 @@ redirect_from:
|
||||
- /articles/error-bad-file-number
|
||||
- /github/authenticating-to-github/error-bad-file-number
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
@@ -41,7 +41,7 @@ $ git clone https://{% data variables.command_line.codeblock %}/<em>username</em
|
||||
|
||||
If you can connect the computer to another network that doesn't have a firewall, you can try testing your SSH connection to {% data variables.product.product_name %}. If everything works as it should, contact your network administrator for help on changing the firewall settings to allow your SSH connection to {% data variables.product.product_name %} to succeed.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
|
||||
### Using SSH over the HTTPS port
|
||||
|
||||
@@ -49,7 +49,7 @@ If using HTTPS is not an option, and your firewall admin refuses to allow SSH co
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
|
||||
## Further reading
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@ redirect_from:
|
||||
- /articles/error-key-already-in-use
|
||||
- /github/authenticating-to-github/error-key-already-in-use
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -5,9 +5,9 @@ redirect_from:
|
||||
- /articles/error-permission-denied-publickey
|
||||
- /github/authenticating-to-github/error-permission-denied-publickey
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
@@ -30,7 +30,7 @@ $ ssh -vT git@{% data variables.command_line.codeblock %}
|
||||
> 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 %}.
|
||||
The connection should be made on port 22{% ifversion fpt %}, unless you're overriding settings to use [SSH over HTTPS](/articles/using-ssh-over-the-https-port){% endif %}.
|
||||
|
||||
## Always use the "git" user
|
||||
|
||||
@@ -54,7 +54,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 currentVersion ver_lt "enterprise-server@3.0" %}If you're using OpenSSH 6.7 or older:
|
||||
2. Verify that you have a private key generated and loaded into SSH. {% ifversion ghes < 3.0 %}If you're using OpenSSH 6.7 or older:
|
||||
```shell
|
||||
# start the ssh-agent in the background
|
||||
$ eval "$(ssh-agent -s)"
|
||||
@@ -89,7 +89,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 currentVersion ver_lt "enterprise-server@3.0" %}If you're using OpenSSH 6.7 or older:
|
||||
2. Verify that you have a private key generated and loaded into SSH. {% ifversion ghes < 3.0 %}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)
|
||||
@@ -111,7 +111,7 @@ $ ssh -T git@{% data variables.command_line.codeblock %}
|
||||
{% linux %}
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Verify that you have a private key generated and loaded into SSH. {% if currentVersion ver_lt "enterprise-server@3.0" %}If you're using OpenSSH 6.7 or older:
|
||||
2. Verify that you have a private key generated and loaded into SSH. {% ifversion ghes < 3.0 %}If you're using OpenSSH 6.7 or older:
|
||||
```shell
|
||||
# start the ssh-agent in the background
|
||||
$ eval "$(ssh-agent -s)"
|
||||
@@ -189,7 +189,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 currentVersion ver_lt "enterprise-server@3.0" %}If you're using OpenSSH 6.7 or older:
|
||||
3. Find and take a note of your public key fingerprint. {% ifversion ghes < 3.0 %}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)
|
||||
@@ -221,7 +221,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 currentVersion ver_lt "enterprise-server@3.0" %}If you're using OpenSSH 6.7 or older:
|
||||
3. Find and take a note of your public key fingerprint. {% ifversion ghes < 3.0 %}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)
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/error-permission-to-userrepo-denied-to-other-user
|
||||
- /github/authenticating-to-github/error-permission-to-userrepo-denied-to-other-user
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/error-permission-to-userrepo-denied-to-userother-repo
|
||||
- /github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/error-ssh-add-illegal-option----k
|
||||
- /github/authenticating-to-github/error-ssh-add-illegal-option----k
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -5,7 +5,7 @@ redirect_from:
|
||||
- /articles/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok
|
||||
- /github/authenticating-to-github/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
fpt: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
title: 'Error: Unknown key type'
|
||||
intro: 'This error means that the SSH key type you used was unrecognized or is unsupported by your SSH client. '
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '>=3.2'
|
||||
github-ae: next
|
||||
fpt: '*'
|
||||
ghes: '>=3.2'
|
||||
ghae: next
|
||||
topics:
|
||||
- SSH
|
||||
redirect_from:
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/error-were-doing-an-ssh-key-audit
|
||||
- /github/authenticating-to-github/error-were-doing-an-ssh-key-audit
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -4,9 +4,9 @@ intro: 'When using SSH to connect and authenticate to {% data variables.product.
|
||||
redirect_from:
|
||||
- /articles/troubleshooting-ssh
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
children:
|
||||
|
||||
@@ -7,9 +7,9 @@ redirect_from:
|
||||
- /articles/recovering-your-ssh-key-passphrase
|
||||
- /github/authenticating-to-github/recovering-your-ssh-key-passphrase
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
@@ -5,7 +5,7 @@ redirect_from:
|
||||
- /articles/using-ssh-over-the-https-port
|
||||
- /github/authenticating-to-github/using-ssh-over-the-https-port
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
fpt: '*'
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user