Commit 3b970a6
fix: remove EnsureSSHServer call and fix authorized_keys permissions
- Remove EnsureSSHServer() call in manager.go that was overriding setupSSHInContainer() config
- Fix authorized_keys ownership with chown root:root
- Attempt to work around ld.so.preload GPU library logging issue
- Remove unused klog import from manager.go
The old EnsureSSHServer() was being called after setupSSHInContainer(),
overriding the secure SSH configuration (PasswordAuthentication no,
PermitRootLogin prohibit-password) with insecure defaults. This caused
containers to still have password authentication enabled despite
setupSSHInContainer() setting it to disabled.
Known issue: TensorFusion GPU libraries loaded via /etc/ld.so.preload
interfere with SSH protocol. The preload file is read-only mounted and
cannot be modified at runtime. This requires a fix in the TensorFusion
GPU library to suppress logging during SSH sessions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 3dbfe28 commit 3b970a6
2 files changed
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
123 | 139 | | |
124 | 140 | | |
125 | 141 | | |
| |||
0 commit comments