Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9bc183ed
Commit
9bc183ed
authored
Jan 06, 2022
by
Justin Bellucci
Committed by
Marcel Amirault
Jan 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding resolution to common error message
parent
9901fcba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
doc/ssh/index.md
doc/ssh/index.md
+13
-1
doc/topics/git/troubleshooting_git.md
doc/topics/git/troubleshooting_git.md
+1
-1
No files found.
doc/ssh/index.md
View file @
9bc183ed
...
...
@@ -376,7 +376,9 @@ Git user has default SSH configuration? ... no
Remove the custom configuration as soon as you can. These customizations
are
**explicitly not supported**
and may stop working at any time.
## Troubleshooting SSH connections
## Troubleshooting
### Password prompt with `git clone`
When you run
`git clone`
, you may be prompted for a password, like
`git@gitlab.example.com's password:`
.
This indicates that something is wrong with your SSH setup.
...
...
@@ -386,3 +388,13 @@ This indicates that something is wrong with your SSH setup.
-
Try to manually register your private SSH key by using
`ssh-agent`
.
-
Try to debug the connection by running
`ssh -Tv git@example.com`
.
Replace
`example.com`
with your GitLab URL.
### `Could not resolve hostname` error
You may receive the following error when
[
verifying that you can connect
](
#verify-that-you-can-connect
)
:
```
shell
ssh: Could not resolve
hostname
gitlab.example.com: nodename nor servname provided, or not known
```
If you receive this error, restart your terminal and try the command again.
doc/topics/git/troubleshooting_git.md
View file @
9bc183ed
...
...
@@ -45,7 +45,7 @@ set to 50MB. The default is 1MB.
**If pushing over SSH**
, first check your SSH configuration as 'Broken pipe'
errors can sometimes be caused by underlying issues with SSH (such as
authentication). Make sure that SSH is correctly configured by following the
instructions in the
[
SSH troubleshooting
](
../../ssh/index.md#
troubleshooting-ssh-connections
)
documentation.
instructions in the
[
SSH troubleshooting
](
../../ssh/index.md#
password-prompt-with-git-clone
)
documentation.
If you're a GitLab administrator with server access, you can also prevent
session timeouts by configuring SSH
`keep-alive`
on the client or the server.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment