[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [HS] Probleme SSH



giggz a écrit :
> Vincent Lefevre a écrit :
>> On 2008-09-07 12:48:56 +0200, giggz wrote:
>>> bon je vais laisser le ChallengeResponseAuthentication yes par
>>> défaut...tant pis...
>> Je te conseille tout de même de vérifier que sur ta machine,
>> l'authentification se fait par clé publique. Autrement, il peut
>> s'agir d'un gros trou de sécurité.
>>
> 
> comment vérifier ça ?
> 
> en tt cas je dois taper ma passphrase à chaque fois...
> 
> Bye
> 

15:52 giggz@grut ~ % ssh -v serveur
OpenSSH_5.1p1 Debian-2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to njal [192.168.0.2] port 22.
debug1: Connection established.
debug1: identity file /home/giggz/.ssh/identity type -1
debug1: identity file /home/giggz/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/giggz/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.3p2 Debian-9etch2
debug1: match: OpenSSH_4.3p2 Debian-9etch2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'njal' is known and matches the RSA host key.
debug1: Found key in /home/giggz/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/giggz/.ssh/identity
debug1: Offering public key: /home/giggz/.ssh/id_rsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /home/giggz/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = fr_FR.UTF-8
debug1: Sending env LC_ALL = fr_FR.UTF-8
debug1: Sending env LC_MESSAGES = fr_FR.UTF-8


je vois bien un "Authentication succeeded (publickey)." ça veut bien
dire que je suis en authentification par clé publique, non ?

Merci en tt cas!


Reply to: