Skip to content

Commit 7a9fcd3

Browse files
authored
Merge pull request github#18584 from janisozaur/patch-2
Add exit code information to ssh connection test
2 parents 4afe911 + bb4e62f commit 7a9fcd3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,10 @@ When you test your connection, you'll need to authenticate this action using you
5656

5757
{% endlinux %}
5858

59+
{% note %}
60+
61+
**Note:** The remote command should exit with code 1.
62+
63+
{% endnote %}
64+
5965
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).

0 commit comments

Comments
 (0)