From 9a876a01d28d4575a086cb6c6ad0a5c1c3b11073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 13 Jun 2022 09:59:11 +0200 Subject: [PATCH 1/3] Add exit code information to ssh connection test --- .../testing-your-ssh-connection.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md index faeb6aeb9c..30d0620150 100644 --- a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md +++ b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md @@ -56,4 +56,6 @@ When you test your connection, you'll need to authenticate this action using you {% endlinux %} + Note the remote command will exit with code 1. + 4. Verify that the resulting message contains your username. If you receive a "permission denied" message, see ["Error: Permission denied (publickey)"](/articles/error-permission-denied-publickey). From cd21875a6b5b97696e27520888ce8da6399d991a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 13 Jun 2022 10:00:46 +0200 Subject: [PATCH 2/3] Update testing-your-ssh-connection.md --- .../testing-your-ssh-connection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md index 30d0620150..f4a14c17a0 100644 --- a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md +++ b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md @@ -56,6 +56,6 @@ When you test your connection, you'll need to authenticate this action using you {% endlinux %} - Note the remote command will exit with code 1. + **Note:** the remote command will exit with code 1. 4. Verify that the resulting message contains your username. If you receive a "permission denied" message, see ["Error: Permission denied (publickey)"](/articles/error-permission-denied-publickey). From e9c3f94725e7f415039fa894e1c2c60762ccc6c8 Mon Sep 17 00:00:00 2001 From: Laura Coursen Date: Tue, 14 Jun 2022 13:50:56 +0100 Subject: [PATCH 3/3] Add callout markdown --- .../testing-your-ssh-connection.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md index f4a14c17a0..23ba5f9d05 100644 --- a/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md +++ b/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md @@ -56,6 +56,10 @@ When you test your connection, you'll need to authenticate this action using you {% endlinux %} - **Note:** the remote command will exit with code 1. + {% note %} + + **Note:** The remote command should exit with code 1. + + {% endnote %} 4. Verify that the resulting message contains your username. If you receive a "permission denied" message, see ["Error: Permission denied (publickey)"](/articles/error-permission-denied-publickey).