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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
0fcfcbaf
Commit
0fcfcbaf
authored
May 01, 2019
by
Drew Blessing
Committed by
Achilleas Pipinellis
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SSH MaxStartups documentation
parent
acbfe107
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
doc/topics/git/troubleshooting_git.md
doc/topics/git/troubleshooting_git.md
+27
-0
No files found.
doc/topics/git/troubleshooting_git.md
View file @
0fcfcbaf
...
@@ -78,6 +78,33 @@ git push
...
@@ -78,6 +78,33 @@ git push
In case you're running an older version of Git (< 2.9), consider upgrading
In case you're running an older version of Git (< 2.9), consider upgrading
to >= 2.9 (see
[
Broken pipe when pushing to Git repository
][
Broken-Pipe
]
).
to >= 2.9 (see
[
Broken pipe when pushing to Git repository
][
Broken-Pipe
]
).
## `ssh_exchange_identification` error
Users may experience the following error when attempting to push or pull
using Git over SSH:
```
Please make sure you have the correct access rights
and the repository exists.
...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
```
This error usually indicates that SSH daemon's
`MaxStartups`
value is throttling
SSH connections. This setting specifies the maximum number of unauthenticated
connections to the SSH daemon. This affects users with proper authentication
credentials (SSH keys) because every connection is 'unauthenticated' in the
beginning. The default value is
`10`
.
Increase
`MaxStartups`
by adding or modifying the value in
`/etc/ssh/sshd_config`
:
```
MaxStartups 100
```
Restart SSHD for the change to take effect.
## Timeout during git push/pull
## Timeout during git push/pull
If pulling/pushing from/to your repository ends up taking more than 50 seconds,
If pulling/pushing from/to your repository ends up taking more than 50 seconds,
...
...
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