File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,23 @@ It also allows hosting of private packages and speeds up the whole downloading p
68
68
69
69
Another alternative is to look into [ Satis] ( https://github.com/composer/satis ) , bare git mirrors and repository aliasing.
70
70
71
+ Another way to speedup downloads over ssh(also interesting for satis users) is to improve your ssh configs.
72
+ At least for newer versions of openSSH you can add the following to your ``` .ssh/config ``` to reuse previous connections.
73
+ ```
74
+ Host *
75
+ ControlPath ~/.ssh/controlmasters/%r@%h:%p
76
+ ControlMaster auto
77
+ ControlPersist 10m
78
+ ```
79
+
80
+ also you need to create the ``` controlmasters ``` directory:
81
+ ``` sh
82
+ mkdir ~ /.ssh/controlmasters
83
+ chmod go-xr ~ /.ssh/controlmasters
84
+ ```
85
+
86
+ further information can be found on [ wikibooks] ( http://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing )
87
+
71
88
## Usage
72
89
73
90
See below for a [ generic instruction on how to install composer] ( #installation-of-composer ) if you aren't familiar with it.
You can’t perform that action at this time.
0 commit comments