Situation
You were given a deploy account on this server: your public key ~/.ssh/id_ed25519.pub is
already in its authorized_keys. But ssh deploy@localhost answers
Permission denied (publickey), and deploy has no password.
Task
ssh deploy@localhostlogs in with your key, no password.- The permission check in
sshdstays on:StrictModes yes.
There is no internet on the machine, and everything you need is installed.
Lab goals
0 of 2-
ssh deploy@localhost logs in with the key, no password — not checked yet
-
sshd still checks the key file modes (StrictModes yes) — not checked yet
Hints
0 of 3 open · they open one at a time
Hint 1
Show the solution
after 3 failed checks