Date: Wed, 1 Feb 2006 23:24:47 -0500 From: Clayton Scott Kern <ckern1@twcny.rr.com> To: david bryce <davidbryce@fastmail.fm> Cc: freebsd-questions@freebsd.org Subject: Re: Attention: Garrett Cooper (Was: SSH with Public Key Authentication) Message-ID: <20060202042447.GA15215@reddwarf.local> In-Reply-To: <1138851479.22819.253344183@webmail.messagingengine.com> References: <1138851222.22515.253344145@webmail.messagingengine.com> <1138851479.22819.253344183@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060202042447.GA15215>