Bad owner or permissions on /home/username/.ssh/config

Hello everyone,

While connecting to server though ssh and if it is showing error like bad owner or permissioin on .ssh/config then follow below command.

chmod -R 700 .ssh

If you want to give access to group and other then you have to give read and execute as below command

chmod -R 755 .ssh



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s