lsattr /etc/ssh/sshd_config

Category: Security & Hardening

lsattr /etc/ssh/sshd_config

Show file attributes

Lists the extended attributes of the file, where an i in the output means immutable. Use it to confirm whether chattr +i took effect. The attribute letters include a for append-only and e for extent format.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.