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 > sshd starting errors
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

sshd starting errors

Réponse
 
LinkBack Outils de la discussion
Vieux 16/07/2007, 22h27   #1
SQ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sshd starting errors


This is OpenSSH 4.4 on Solaris 8.
Any idea what's going on?


#/etc/init.d ./sshd start
3 SSHD: Generating DSA host key...
Generating public/private dsa key pair.
/usr/local/etc/ssh_host_dsa_key already exists.
Overwrite (y/n)? y
Your identification has been saved in /usr/local/etc/ssh_host_dsa_key.
Your public key has been saved in /usr/local/etc/ssh_host_dsa_key.pub.
The key fingerprint is:
08:cb:f2:a6:f5:a8:07:45:92:5c:a7:f5:2c:07:af:cb root@baj4
SSHD: Starting the Secure Shell Daemon
/usr/local/etc/sshd_config line 30: Deprecated option
RhostsAuthentication
/usr/local/etc/sshd_config line 53: Deprecated option CheckMail
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

  Réponse avec citation
Vieux 17/07/2007, 03h57   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sshd starting errors

>
> This is OpenSSH 4.4 on Solaris 8.
> Any idea what's going on?


As it says at the bottom, you have no hostkeys. Use ssh-keygen to
generate some, and put them in the default location, here probably
/usr/local/etc/ssh_host_{dsa,rsa}_key{.pub}

>
> #/etc/init.d ./sshd start
> 3 SSHD: Generating DSA host key...
> Generating public/private dsa key pair.
> /usr/local/etc/ssh_host_dsa_key already exists.
> Overwrite (y/n)? y
> Your identification has been saved in /usr/local/etc/ssh_host_dsa_key.
> Your public key has been saved in /usr/local/etc/ssh_host_dsa_key.pub.
> The key fingerprint is:
> 08:cb:f2:a6:f5:a8:07:45:92:5c:a7:f5:2c:07:af:cb root@baj4
> SSHD: Starting the Secure Shell Daemon
> /usr/local/etc/sshd_config line 30: Deprecated option
> RhostsAuthentication
> /usr/local/etc/sshd_config line 53: Deprecated option CheckMail
> Disabling protocol version 2. Could not load host key
> sshd: no hostkeys available -- exiting.



--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Vieux 23/07/2007, 16h33   #3
SQ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sshd starting errors

I regenerated all of these files, yet I still cannot start the sshd
daemon with Protocol 2 enabled.
Which key does it want?

ll /usr/local/etc/ssh_host_[dr]sa_key*
-rw------- 1 root root 672 Jul 19 16:13 /usr/local/etc/
ssh_host_dsa_key
-rw------- 1 root other 672 Jul 19 15:09 /usr/local/etc/
ssh_host_dsa_key.b
-rw-r--r-- 1 root other 600 Jul 19 16:13 /usr/local/etc/
ssh_host_dsa_key.pub
-rw------- 1 root root 600 Jul 17 11:51 /usr/local/etc/
ssh_host_dsa_key.pub.pub
-rw------- 1 root root 1675 Jul 19 16:12 /usr/local/etc/
ssh_host_rsa_key
-rw------- 1 root root 887 Jul 19 14:31 /usr/local/etc/
ssh_host_rsa_key.b
-rw-r--r-- 1 root root 392 Jul 19 16:12 /usr/local/etc/
ssh_host_rsa_key.pub

#:/etc/init.d ./sshd start
SSHD: Starting the Secure Shell Daemon
/usr/local/etc/sshd_config line 30: Deprecated option
RhostsAuthentication
/usr/local/etc/sshd_config line 53: Deprecated option CheckMail
Disabling protocol version 2. Could not load host key


  Réponse avec citation
Vieux 23/07/2007, 21h42   #4
all mail refused
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sshd starting errors

On 2007-07-23, SQ <onestatusquo@yahoo.com> wrote:

> Which key does it want?
> ll /usr/local/etc/ssh_host_[dr]sa_key*
> Disabling protocol version 2. Could not load host key


Maybe in /etc/ssh/ or some other place. Check with
strings on the sshd binary:

# strings - /usr/sbin/sshd | grep /ssh_host_key
/etc/ssh/ssh_host_key

--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
  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 17h18.


É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,11819 seconds with 12 queries