PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > Only allow public/private key authentication ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Only allow public/private key authentication ?

Réponse
 
LinkBack Outils de la discussion
Vieux 15/12/2006, 10h20   #1
ctobini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Only allow public/private key authentication ?

Hello,

I would like to know if there is a way to allow only public/private key
authentication, and so what is the exact signification of the
'PasswordAuthentication' configuration option.

I have disabled the PasswordAuthentication option but my sshd server
always asks me for a password and not a passphrase if I don't have the
good private key on my client.

Thanks if you can ,

C. Tobini

  Réponse avec citation
Vieux 15/12/2006, 18h34   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Only allow public/private key authentication ?

>>>>> "ctobini" == ctobini <ctemp2@free.fr> writes:

ctobini> Hello, I would like to know if there is a way to allow only
ctobini> public/private key authentication, and so what is the exact
ctobini> signification of the 'PasswordAuthentication' configuration
ctobini> option.

ctobini> I have disabled the PasswordAuthentication option but my sshd
ctobini> server always asks me for a password and not a passphrase if
ctobini> I don't have the good private key on my client.

Did you restart or sighup sshd after making this change?

ctobini> Thanks if you can ,

ctobini> C. Tobini


--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Vieux 16/12/2006, 08h43   #3
ctobini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Only allow public/private key authentication ?

Hello and thanks for your answer,

I have restarted the service but I'm asked for my password, I fixed
'PasswordAuthentication no' in the /etc/sshd_config file.

C. Tobini

Richard E. Silverman a écrit :

> >>>>> "ctobini" == ctobini <ctemp2@free.fr> writes:

>
> ctobini> Hello, I would like to know if there is a way to allow only
> ctobini> public/private key authentication, and so what is the exact
> ctobini> signification of the 'PasswordAuthentication' configuration
> ctobini> option.
>
> ctobini> I have disabled the PasswordAuthentication option but my sshd
> ctobini> server always asks me for a password and not a passphrase if
> ctobini> I don't have the good private key on my client.
>
> Did you restart or sighup sshd after making this change?
>
> ctobini> Thanks if you can ,
>
> ctobini> C. Tobini
>
>
> --
> Richard Silverman
> res@qoxp.net


  Réponse avec citation
Vieux 16/12/2006, 16h18   #4
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Only allow public/private key authentication ?


http://www.snailbook.com/faq/general...ging.auto.html

--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Vieux 16/12/2006, 21h23   #5
Darren Tucker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Only allow public/private key authentication ?

On 2006-12-15, ctobini <ctemp2@free.fr> wrote:
> I would like to know if there is a way to allow only public/private key
> authentication, and so what is the exact signification of the
> 'PasswordAuthentication' configuration option.
>
> I have disabled the PasswordAuthentication option but my sshd server
> always asks me for a password and not a passphrase if I don't have the


Assuming you're using OpenSSH and that you have restarted sshd (from
subsequent posts it seems that you have) you may also need to disable
ChallengeResponseAuthentication.

If you have PAM support enabled in sshd and PAM is configured to allow
authentication via password then sshd can also authenticate you via
that method. It looks similar to password authentication but it's
different at the protocol level.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h37.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13734 seconds with 13 queries