Qual permissao devo colocar no arquivo da chave privada?
vagrant@ubuntu-bionic:/vagrant$ ls -lart total 87 drwxrwxrwx 1 vagrant vagrant 0 May 25 23:54 .vagrant -rwxrwxrwx 1 vagrant vagrant 187 May 26 00:31 Vagrantfile -rwxrwxrwx 1 vagrant vagrant 2610 May 26 00:46 keycontrol -rwxrwxrwx 1 vagrant vagrant 576 May 26 00:46 keycontrol.pub -rwxrwxrwx 1 vagrant vagrant 44488 May 26 00:50 ubuntu-bionic-18.04-cloudimg-console.log drwxr-xr-x 24 root root 4096 May 26 00:50 .. -rwxrwxrwx 1 vagrant vagrant 576 May 26 01:42 key_hosts.pub -rwxrwxrwx 1 vagrant vagrant 28 May 26 02:46 hosts -r-xr-xr-x 1 vagrant vagrant 1675 May 26 03:30 vagrant_id_rsa drwxrwxrwx 1 vagrant vagrant 0 May 26 03:40 ssh-keys drwxrwxrwx 1 vagrant vagrant 4096 May 26 03:40 . vagrant@ubuntu-bionic:/vagrant$ ansible wordpress -u vagrant --private-key vagrant_id_rsa -i hosts -m shell -a 'echo Hello, World' [WARNING] Ansible is in a world writable directory (/vagrant), ignoring it as an ansible.cfg source. 172.17.177.40 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nPermissions 0555 for '/vagrant/vagrant_id_rsa' are too open.\r\nIt is required that your private key files are NOT accessible by others.\r\nThis private key will be ignored.\r\nLoad key "/vagrant/vagrant_id_rsa": bad permissions\r\nvagrant@172.17.177.40: Permission denied (publickey).\r\n", "unreachable": true }