Re: Soucis avec SSH
* Franck <franck@linuxpourtous.com> [2005-01-21 11:55] :
> >>>c'est ça que tu dois faire :
> >>>ssh -v 192.168.0.136
> >>
> >>Oups, pardon :(
> >>
> >>ssh -v 192.168.0.136
> >>OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
[...]
> >>debug1: Authentications that can continue: publickey,keyboard-interactive
> >>debug1: Next authentication method: publickey
> >>debug1: Trying private key: /home/franck/.ssh/identity
> >>debug1: Trying private key: /home/franck/.ssh/id_rsa
> >>debug1: Trying private key: /home/franck/.ssh/id_dsa
> >>debug1: Next authentication method: keyboard-interactive
> >>Connection closed by 192.168.0.136
> >
> >
> >C'est normal que tu n'ai pas password comme méthode d'authentification ?
> >Tu as désactivé l'authentification par mot da passe dans
> >/etc/ssh/sshd_config (option PasswordAuthentication à No) peut-être ?
> C'est le sshd_config par défaut de sarge/SID, j'ai juste changé le
> niveau de debug de INFO à DEBUG, c'est tout ...
Curieux, j'ai réinstallé une Sarge assez récemment et je pouvais me
connecter par mot de passe.
> Tu pourrais me poster le tien STP ?
Désolé, je ne préfère pas (moins on donne d'informations (même
anodines), meilleure est la sécurité. Oui, je sais, sécurité par
l'obscurité et patati, patata, mais bon)...
> Port 22
> Protocol 2
> HostKey /etc/ssh/ssh_host_rsa_key
> HostKey /etc/ssh/ssh_host_dsa_key
> UsePrivilegeSeparation yes
> KeyRegenerationInterval 3600
> ServerKeyBits 768
> SyslogFacility AUTH
> LogLevel DEBUG
> LoginGraceTime 600
> PermitRootLogin yes
> StrictModes yes
> RSAAuthentication yes
> PubkeyAuthentication yes
> IgnoreRhosts yes
> RhostsRSAAuthentication no
> HostbasedAuthentication no
> RhostsRSAAuthentication
> PermitEmptyPasswords no
> PasswordAuthentication no
Ah, ah, et en changeant cette option à yes et en redémarrant le serveur
SSH, cela devrait te permettre de te connecter par mot de passe...
Fred
--
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html
Reply to: