{"meta":{"title":"Error: El agente admitió un fallo al firmar","intro":"En raras circunstancias, la conexión a GitHub mediante SSH en Linux genera el error \"Agent admitted failure to sign using the key\". Sigue los pasos siguientes para resolver el problema.","product":"Autenticación","breadcrumbs":[{"href":"/es/enterprise-server@3.19/authentication","title":"Autenticación"},{"href":"/es/enterprise-server@3.19/authentication/troubleshooting-ssh","title":"Solucionar problemas de SSH"},{"href":"/es/enterprise-server@3.19/authentication/troubleshooting-ssh/error-agent-admitted-failure-to-sign","title":"Fallo de firma del agente"}],"documentType":"article"},"body":"# Error: El agente admitió un fallo al firmar\n\nEn raras circunstancias, la conexión a GitHub mediante SSH en Linux genera el error \"Agent admitted failure to sign using the key\". Sigue los pasos siguientes para resolver el problema.\n\nCuando intentes conectarte a SSH en tu instancia de GitHub Enterprise Server en un equipo Linux, posiblemente veas el siguiente mensaje en tu terminal:\n\n```shell\n$ ssh -vT git@HOSTNAME\n> ...\n> Agent admitted failure to sign using the key.\n> debug1: No more authentication methods to try.\n> Permission denied (publickey).\n```\n\nPara obtener más información, consulta [este informe de problemas](https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/201786) en Canonical Launchpad.\n\n## Solución\n\nDebería poder solucionar este error mediante la carga de las claves en el agente de SSH con `ssh-add`:\n\n```shell\n# start the ssh-agent in the background\n$ eval \"$(ssh-agent -s)\"\n> Agent pid 59566\n$ ssh-add\n> Enter passphrase for /home/YOU/.ssh/id_rsa: [tippy tap]\n> Identity added: /home/YOU/.ssh/id_rsa (/home/YOU/.ssh/id_rsa)\n```\n\nSi la clave no tiene el nombre de archivo predeterminado (`/.ssh/id_rsa`), tendrá que pasar esa ruta a `ssh-add`:\n\n```shell\n# start the ssh-agent in the background\n$ eval \"$(ssh-agent -s)\"\n> Agent pid 59566\n$ ssh-add ~/.ssh/my_other_key\n> Enter passphrase for /home/YOU/.ssh/my_other_key: [tappity tap tap]\n> Identity added: /home/YOU/.ssh/my_other_key (/home/YOU/.ssh/my_other_key)\n```"}