Authentication with SSH using public keys

Ashish Shukla आशीष शुक्ल wahjava.ml at gmail.com
Mon Nov 3 20:26:41 PST 2008


Andrew Falanga writes:

>> 
>> >debug1: Authentications that can continue: publickey,keyboard-interactive
>> >debug1: Next authentication method: publickey
>> >debug1: Trying private key: /home/andy/.ssh/identity
>> >debug1: Offering public key: /home/andy/.ssh/id_rsa
>> >debug2: we sent a publickey packet, wait for reply
>> >debug1: Authentications that can continue: publickey,keyboard-interactive
>> 
>> It seems OpenSSH (on your dad's box) hasn't recognized your private key, so
>> how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his
>> box. Or how about enabling verbose logging on his box, using 'LogLevel'
>> parameter in sshd_config.
>> 
>> HTH
>> Ashish Shukla


> Following onto the e-mail I made before, apparently that little permissions 
> difference for the directory, .ssh, was the problem.  Changing it to 644 has, 
> apparently, fixed the problem.

Cool :) . I learnt this from my first SSH public-key authentication
configuration ;)

Ashish
-- 
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
% dig +short cname cdac.in @::1
ms.gov.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081104/00691eb6/attachment.pgp


More information about the freebsd-questions mailing list