From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 04:24:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 769A416A420 for ; Thu, 2 Feb 2006 04:24:49 +0000 (GMT) (envelope-from ckern1@twcny.rr.com) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01.nyroc.rr.com [24.24.2.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091BC43D53 for ; Thu, 2 Feb 2006 04:24:48 +0000 (GMT) (envelope-from ckern1@twcny.rr.com) Received: from localhost (cpe-69-202-106-69.twcny.res.rr.com [69.202.106.69]) by ms-smtp-01.nyroc.rr.com (8.13.4/8.13.4) with ESMTP id k124Oimo014643; Wed, 1 Feb 2006 23:24:44 -0500 (EST) Date: Wed, 1 Feb 2006 23:24:47 -0500 From: Clayton Scott Kern To: david bryce Message-ID: <20060202042447.GA15215@reddwarf.local> References: <1138851222.22515.253344145@webmail.messagingengine.com> <1138851479.22819.253344183@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138851479.22819.253344183@webmail.messagingengine.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-questions@freebsd.org Subject: Re: Attention: Garrett Cooper (Was: SSH with Public Key Authentication) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 04:24:49 -0000 on 02-02-2006, david bryce wrote: > > > Daniel, > > > > > > Thank you for taking the time to reply. > > > > > > We are currently using pageant to manage the private key. However, > > > the keys we are using are generated with puttygen (not from the > > > server). The public key was then copied to the authorized_keys > > > file on the server. Would you recommend generating the keys on > > > the server? Do you have an idea where are some instructions > > > about how to generate the keys on the server? Thanks! > > > > Can you login using any key in the authorized_keys file? Also, > > what's the umask for authorized keys (ls -l .ssh/authorized_keys)? > > -Garrett > > Thanks for replying, Garrett! > > There is only one key in the authorized_keys file (the one I'm > trying to use), and I cannot login with it. The umask is: > > -rw-r--r-- 1 root cvs 601 Feb 1 16:08 authorized_keys > -rw-r--r-- 1 root cvs 601 Feb 2 10:27 authorized_keys2 > -rw-r--r-- 1 root cvs 13 Feb 1 17:10 known_hosts > > Thanks! > > Regards, > > DB > -- > david bryce > davidbryce@fastmail.fm > > -- What's the permissions for the .ssh directory. I had problems in the past if it's not 700. There was an entry in /var/log/messages or its equivalent, stating as such. This would come up on new systems, because I usually had to create the .ssh directory and the umask would cause it to have 755. -- Clayton Scott Kern ckern1@twcny.rr.com The software stated it required UNIX System Administrator Microsoft Windows 2000 or higher, FreeBSD, Linux, Solaris & so I installed FreeBSD. HP-UX