User Tools

Site Tools


bad_owner_or_permissions_on_ssh_config_file

Bad owner or permissions on ssh config file

Sometimes, after you makes changes to a .ssh/config file, you'll start to see the following error when you try to connect to a host:

Bad owner or permissions on /share/homes/admin/.ssh/config

This is because the permissions have been altered on the config file. Fix it with this:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/*

Source: https://superuser.com/questions/1212402/bad-owner-or-permissions-on-ssh-config-file

bad_owner_or_permissions_on_ssh_config_file.txt · Last modified: 2023/06/11 13:24 by jimc