4 MINDS

4MINDS Gestão de Conhecimento

Permissions 0660 for '/home/user/.ssh/id_rsa' are too open.


Erro ao acessar um servidor da amazon via ssh

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for '/home/user/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/user/.ssh/id_rsa
Permission denied (publickey).
fatal: Could not read from remote repository.

Solução

chmod 0400 /home/user/.ssh/id_rsa