copr-builders: slightly shorter ssh ControlPath
This commit is contained in:
parent
5ea82ed591
commit
b992e11871
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ Host *
|
||||||
ServerAliveCountMax 5
|
ServerAliveCountMax 5
|
||||||
ConnectTimeout 60
|
ConnectTimeout 60
|
||||||
{% if devel %}
|
{% if devel %}
|
||||||
ControlPath=~/.ssh/.ssh_socket_%h_%p_%r
|
# Be careful with patterns so the socket filename is not too long:
|
||||||
|
# unix_listener: path "/var/lib/resallocserver/.ssh/.ssh_socket_vmhost-x86-copr04.rdu-cc.fedoraproject.org_22_copr.8bslqLJka7WO6iIQ" too long for Unix domain socket: Connection reset by peer
|
||||||
|
# See: https://stackoverflow.com/questions/34829600/why-is-the-maximal-path-length-allowed-for-unix-sockets-on-linux-108
|
||||||
|
ControlPath=~/.ssh/skt_%h_%p_%r
|
||||||
ControlMaster=auto
|
ControlMaster=auto
|
||||||
ControlPersist=60
|
ControlPersist=60
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue