From: Matt Hemingway Subject: Re: SSH Athentification with public key Date: Tue, 27 May 2003 07:57:45 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030527075745.6c3c250d.matt.hemingway@pcnalert.com> References: Reply-To: matt.hemingway@pcnalert.com Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="iso-8859-1" To: Gerd =?ISO-8859-1?Q?M=FCller?= Cc: linux-admin@vger.kernel.org Could be a couple things: 1. When you copied the id_rsa.pub file, did you do a copy and paste fro= m an xterm window to an xterm window or did you sftp/scp/ftp the file o= ver? I had a similar problem, where I had copied the contents from an = xterm window to an xterm window and instead of the lines wrapping at th= e end of the window, line breaks were inserted. Each public key entry = must be one line. 2. Make sure the authorized_keys file is owned and readable by root. Also, try ssh -vvv root@mirror-server and see if you get any usefull in= fo. strace can come in handy as well. -Matt On Tue, 27 May 2003 11:30:40 +0400 Gerd M=FCller wrote: > Hello, >=20 > i want to update hourly a remote mirror-server with rsync via ssh. In= order=20 > to enable the file-server to establish a ssh-session without password= =20 > prompt, i created on file-server a keypair with ssh-keygen -t rsa (em= pty=20 > passphrase) and copied the public key (id_rsa.pub) to the=20 > /root/.ssh/authorized_keys File (on mirror-server). This file didn't = exist=20 > before. > When establishing a ssh-sesssion with root@servername, the password r= equest=20 > 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= =20 > machines. >=20 > Gerd >=20 >=20 >=20 > - > 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 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Matt Hemingway PCNAlert www.pcnalert.com 626-585-2788 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - 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