From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-15?Q?Gerd_M=FCller?= Subject: Solved: SSH Athentification with public key Date: Wed, 28 May 2003 10:31:09 +0400 Sender: linux-admin-owner@vger.kernel.org Message-ID: References: Mime-Version: 1.0 Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: linux-admin@vger.kernel.org Hello, thank you very much for all the helpful hints! Changing permissions of /$HOME/.ssh to 700 solved the problem (it was 770)! Gerd wrote: > Hello, > > i want to update hourly a remote mirror-server with rsync via ssh. In > order to enable the file-server to establish a ssh-session without > password prompt, i created on file-server a keypair with ssh-keygen -t > rsa (empty passphrase) and copied the public key (id_rsa.pub) to the > /root/.ssh/authorized_keys File (on mirror-server). This file didn't > exist before. > When establishing a ssh-sesssion with root@servername, the password > request occurs nontheless! > (with root's password i am able to establish the connection). > Can anybody tell me what i did wrong? I am running RedHat 7.3 on both > machines. > > Gerd > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/