Pages : 1
#1 Le 28/10/2012, à 11:31
- BrunoL
OpenSSH Server: sshdChanging password for root KO
Bonjour,
Sous busy-box, j'ai installé openSSH apparemment sans problème.
Mais au lancement j'obtiens:
sh-3.00# /share/Apps/local/etc/init.d/51sshd.sh start
Starting OpenSSH Server: sshdChanging password for root
New password:
Bad password: too short
Retype password:
passwd: password for root is unchanged
failed!
Il s'agit bien du retour complet et unique, à aucun moment il ne me demande de saisir quoi que ce soit.
Surprenant également le service est quand même lancé :
sh-3.00# ps |grep ssh
6162 root 0:00 /share/Apps/local/sbin/sshd
Mais lorsque je tente de me connecter en root ou en user je me fais jeter après trois tentatives sur des psw soit-disant erronés.
Les éléments correspondants de mon sshd_config donne (le reste est en #) :
# $OpenBSD: sshd_config,v 1.84 2011/05/23 03:30:07 djm Exp $
protocol 2
HostKey /share/Apps/local/etc/openssh/ssh_host_rsa_key
HostKey /share/Apps/local/etc/openssh/ssh_host_dsa_key
HostKey /share/Apps/local/etc/openssh/ssh_host_ecdsa_key
LoginGraceTime 2m
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
RhostsRSAAuthentication no
HostbasedAuthentication no
IgnoreRhosts no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
Merci pour votre aide.
[Edit]
Après redémarrage de la machine le message s'est enrichi :
sh-3.00# /share/Apps/local/etc/init.d/51sshd.sh restart
Changing password for root
New password:
Bad password: too short
Retype password:
passwd: password for root is unchanged
Could not load host key: /share/Apps/local/etc/openssh/ssh_host_ecdsa_key
Effectivement ce fichier n'existe pas. Je cherche donc dans cette voie...
Dernière modification par BrunoL (Le 28/10/2012, à 11:45)
Hors ligne
#2 Le 28/10/2012, à 20:28
- BrunoL
Re : OpenSSH Server: sshdChanging password for root KO
Après recherche cela n'a rien à voir avec openSsh. C'est le script de lancement qui fait de drôles de choses.
Désolé pour le bruit.
A+
Hors ligne
Pages : 1