Skip to content

Commit 1f0fc2d

Browse files
authored
Try set conn hash length to 17 (#2464)
1 parent 696893e commit 1f0fc2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component/Ssh/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private static function generateControlPath(Host $host): string
246246
return '/dev/shm/%C';
247247
}
248248

249-
$connectionHashLength = 16; // Length of connection hash that OpenSSH appends to controlpath
249+
$connectionHashLength = 17; // Length of connection hash that OpenSSH appends to controlpath
250250
$unixMaxPath = 104; // Theoretical max limit for path length
251251
$homeDir = parse_home_dir('~');
252252
$port = empty($host->get('port', '')) ? '' : ':' . $host->getPort();

0 commit comments

Comments
 (0)