Bad owner or permissions on .ssh/config Error in Linux/Unix

Bad owner or permissions on .ssh/config Error in Linux/Unix

This error is due to file permission issue. for SSH we need to follow certain standards for file permissions.

The below commands should fix the "Bad owner or permissions on .ssh/config " Error.
chmod 644 ~/.ssh/config
Prefix with sudo if the files are owned by different user (or you don't have access to them).

If more files are affected, then replace config with *.

In man ssh we can read:
Because of the potential for abuse, this file must have strict permissions: read/write for the user, and not writable by others.
It may be group-writable provided that the group in question contains only the user.

Comments

HTML/JAVASCRIPT

Popular posts from this blog

Teradata SQL Assistant Shortcuts

How to List All Tables in Oracle, MySql, Teradata, DB2 and PostgreSQL

7473 Requested sample is larger than table rows. All rows returned