|
From: victor n. <vic...@ya...> - 2007-11-02 22:11:06
|
Hi Eli When i typing i make a mistake: > Starting SSHD: Could not load host key: > /etc/ssh/ssh_rsa_key realy is /etc/ssh/ssh_host_rsa_key and the error is because whe i do it whit my personalized key i use other name and thank you i can see the error "> AuthorizedKeysFile /etc/ssh/ssh_host_rsa_key" but i continue whit the problem when i conect from ha remote host i can in whitout a public key. Thank a lot for your help Vitor Arango Nikiforenko --- Eli Heady <el...@se...> wrote: > On Friday 02 November 2007 02:42:37 pm victor > nikiforenko wrote: > > Hello List > > > > First at all excuse me for my pour english. > > I'm curently use a Devil-Linux 1.2.13 like > firewall > > whit DMZ on Compaq evo PIV whit 1152MB ram. > > > > The problem is: i try to use it whit hostkey but > when > > i start it and try to conect from a remote pc whit > ssh > > it don't ask me for a pub hostkey, and another > problem > > is whit keygen, i creatit whit "ssh-keygen -b 2048 > -t > > rsa" > > in this step evry works fine but when i add it to > > sshd_config and restart ssh, ssh show me: > > > > Starting SSHD: Could not load host key: > > /etc/ssh/ssh_rsa_key > > Disabling protocol version 2. Could not load host > key > > sshd: no hostkeys available -- exiting. > > > > my sshd_conf is: > > > > Port 22 > > Protocol 2 > > Ciphers aes256-cbc > > HostKey /etc/ssh/ssh_host_rsa_key > > SyslogFacility AUTH > > LogLevel INFO > > PermitRootLogin yes > > StrictModes yes > > MaxAuthTries 3 > > RSAAuthentication yes > > PubkeyAuthentication yes > > AuthorizedKeysFile /etc/ssh/ssh_host_rsa_key > > PasswordAuthentication yes > > PermitEmptyPasswords no > > ChallengeResponseAuthentication yes > > PrintLastLog yes > > Banner /etc/ssh/sshd-banner > > Subsystem sftp /usr/libexec/sftp-server > > > > Thanks a lot > > > > > Hi Victor, > > Is this a typo? > > > Starting SSHD: Could not load host key: > > /etc/ssh/ssh_rsa_key > > > Or did you copy directly from the console? > "/etc/ssh/ssh_rsa_key" is not > listed in your sshd_config excerpt. If sshd is > really trying to > use "ssh_rsa_key", make sure it exists in /etc/ssh/ > > Also, you are specifying the server HostKey and > AuthorizedKeysFile as the same > file. I don't think it will work like that. > > Read up on man sshd, man sshd_config ... > > You can adjust the logging level in the config: > > LogLevel DEBUG > > Restart sshd then watch the log messages while you > try to log in -- syslog > prints to tty10 (Alt+F10) [I think, at least ... I > don't remember the > default, I've changed mine to logfile] > > hth, > eli > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |