Skip to content

Commit 60c46f7

Browse files
jellymartinpitt
authored andcommitted
test: don't chmod 600 the ssh socket directory
OpenSSH 10.2p1 leaves an agent directory around which wrongly get chmod'ed without read access.
1 parent f70dd51 commit 60c46f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/verify/check-shell-keys

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ session optional pam_ssh_add.so
208208
"verify/files/ssh/id_ed25519",
209209
"verify/files/ssh/id_ed25519.pub"
210210
], "/home/admin/.ssh/")
211-
m.execute("chmod 600 /home/admin/.ssh/*")
211+
m.execute("chmod 600 /home/admin/.ssh/id_*")
212212
m.execute("chown -R admin:admin /home/admin/.ssh")
213213

214214
self.login_and_go()

0 commit comments

Comments
 (0)