Edmarcos, Já determinei que a pasta tivesse as seguintes permissões: 600 e agora 640 e de nada adiantou.
Fábio, Infelizmente também não funcionou sua dica. Vou colar aqui as mensagens apresentadas no cliente: OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to IP [IP] port 22 debug1: Connection established. debug1: identity file /home/mille/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.6p1 Debian-5ubuntu0.1 debug1: match: OpenSSH_4.6p1 Debian-5ubuntu0.1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '[IP]:22' is known and matches the RSA host key. debug1: Found key in /home/mille/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/mille/.ssh/id_dsa debug1: Authentications that can continue: publickey debug1: No more authentication methods to try. Permission denied (publickey). 2008/2/5 Fabio Guerrazzi <[EMAIL PROTECTED]>: > > <quote quem="Leonardo Bernardes"> > > Vinicius, eu já fiz isso, camarada. Desabilitei a opção de autenticar > via > > password e continua a mesma coisa. > > > > Permission denied (publickey). > > > > Em verdade eu já não sei mais o que fazer. Já tentei de tudo! > > > > 2008/2/5 Vinícius de Figueiredo Silva <[EMAIL PROTECTED]>: > > > >> É só adicionar a chave pública do cliente em authorized_keys do > >> servidor. Não é preciso fazer MAIS nada. > > > > Veja se ajuda: > > # Objetivo > > Utilizar o comando scp para realizar um backup cruzado sem a > necessidade de ter que digitar senha do administrador. > > # Diagrama > > Servidor_A |-------------| Servidor_B > ip=192.168.0.2 ip=192.168.1.2 > > # Procedimento > > - No Servidor_A(192.168.0.2) > $ cd /root > $ ssh-keygen -t rsa > -> para automatizar a autenticao, deixe a passphrase vazia > $ scp /root/.ssh/id_rsa.pub [EMAIL PROTECTED]:/root/.ssh/authorized_keys > > - No Servidor_B(192.168.1.2) > $ cd /root > $ ssh-keygen -t rsa > -> para automatizar a autenticao, deixe a passphrase vazia > $ scp /root/.ssh/id_rsa.pub [EMAIL PROTECTED]:/root/.ssh/authorized_keys > > > -- > Fabio. > > > -- > Interessado em aprender mais sobre o Ubuntu em português? > http://wiki.ubuntu-br.org/ComeceAqui - > ubuntu-br mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br > -- Interessado em aprender mais sobre o Ubuntu em português? http://wiki.ubuntu-br.org/ComeceAqui - ubuntu-br mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

