fix(zhulan): keep SSH Match directives portable
This commit is contained in:
parent
3a950fe029
commit
65784b4388
2 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,6 @@ Match User zhulan-codex
|
|||
X11Forwarding no
|
||||
PermitTunnel no
|
||||
PermitTTY yes
|
||||
PermitUserEnvironment no
|
||||
EOF
|
||||
chmod 0644 "$SSHD_DROPIN.tmp"
|
||||
mv "$SSHD_DROPIN.tmp" "$SSHD_DROPIN"
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ class CodexRemoteContractTest(unittest.TestCase):
|
|||
self.assertIn('"$REMOTE_HOME/.codex/AGENTS.md"', installer)
|
||||
self.assertIn("'/.zhulan/'", installer)
|
||||
self.assertIn("AllowTcpForwarding no", installer)
|
||||
self.assertNotIn("PermitUserEnvironment no", installer)
|
||||
self.assertIn("central_push_credentials\": false", installer)
|
||||
self.assertNotIn("NOPASSWD", installer)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue