Ssh: Use hashes for sockets for ipv6 compatibility.

This commit is contained in:
Dmitry Voronin 2024-12-10 02:11:56 +03:00
parent b3a68f8e71
commit f2d1bfa965
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -12,7 +12,7 @@ in {
text = (util.trimTabs ''
Host *
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p.socket
ControlPath ~/.ssh/%C.socket
ControlPersist yes
'')
+ mkHost "dasha" "10.0.0.7" 22143 "root"