Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2008 07:16:00 +0530
From:      =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla <wahjava.ml@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Authentication with SSH using public keys
Message-ID:  <20081101014600.GA37453@chateau.d.lf>
In-Reply-To: <200810311652.38230.af300wsm@gmail.com>
References:  <200810311652.38230.af300wsm@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

In <200810311652.38230.af300wsm@gmail.com>, Andrew Falanga wrote:
>Hi,
>
>My father recently setup a new 7.0-Release system for some web development=
=2E  I=20
>use ssh to login remotely.  I've normally not had any trouble configuring=
=20
>authentication through public key encryption using ssh-keygen and such.  I=
=20
>have for myself a id_rsa.pub and an id_rsa key pair that I use for this=20
>purpose.
>
>Normally, I just copy, via scp, the file id_rsa.pub to my=20
>~/.ssh/authorized_keys file on the remote host and the next time I attempt=
 a=20
>login all is well.  That is, I don't have to enter my password.  However, =
on=20
>my Dad's new machine, this isn't the case.  I still have to enter the=20
>password.
>
>Now, I've looked through his /etc/ssh/sshd_config file and nothing in ther=
e=20
>looks odd, or different, from other remote hosts I do this on.  So, I'm=20
>embedding a copy/paste of an ssh login session on my father's host=20
>using -v -v to ssh:
>
>[/usr/home/andy/MCH]
>-> ssh -v -v malumgat

[...]

>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=20
about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his box.=
 Or=20
how about enabling verbose logging on his box, using 'LogLevel' parameter i=
n=20
sshd_config.

HTH
Ashish Shukla
--=20
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkLtNcACgkQHy+EEHYuXnTAfwCgh975KgoRa22DXvtP8uZ/A6mi
Dn0An03pUMCw41FfdcPebh3uN4/IJbuu
=eTz5
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081101014600.GA37453>