← Learn
Dangerous
chmod 777 ~/.ssh/authorized_keys

linux · bash · Advanced

Makes the list of keys allowed to log in as you writable by every local account. Any user on the box can then append their own key and authenticate as you, and SSH will also start refusing the file for being too permissive.

Signals to notice

  • World-writable authentication file
  • Allows any local user to add their own key
  • Breaks SSH's own permission checks

Think you can spot these under time pressure?

Start Training

More Credential Access