diff --git a/.mikaela/ssh/config b/.mikaela/ssh/config index 877c5895..2a8fa2a6 100644 --- a/.mikaela/ssh/config +++ b/.mikaela/ssh/config @@ -3,7 +3,7 @@ Host * # Path for the control socket. - ControlPath /tmp/SSH_%u-%r.%h.%p + ControlPath ~/.ssh/sockets/socket-%r@%h:%p # Multiple sessions over single connection ControlMaster yes # Keep connection open in the background even after connection has been diff --git a/etc/ssh/ssh_config b/etc/ssh/ssh_config index 81303cf7..eb8803c5 100644 --- a/etc/ssh/ssh_config +++ b/etc/ssh/ssh_config @@ -4,7 +4,7 @@ Host * # Path for the control socket. - ControlPath /tmp/SSH_%u-%r.%h.%p + ControlPath ~/.ssh/sockets/socket-%r@%h:%p # Multiple sessions over single connection ControlMaster yes # Keep connection open in the background even after connection has been