chmod
CautionChange permissions
chmod 755 <file>
Changes file/directory permissions.
Examples
chmod +x deploy.shMake executable
Syntax
chmod <mode> <file> (e.g. 644/755)
Before you run it
Wrong perms affect security/behavior.
Used when you see
SSH key auth fails
3
See the whole flow →Fix server-side ~/.ssh permissions (700/600)Loose permissions make sshd silently ignore the file.
Related commands
- chownChange owner
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store