SSH Configuration

I’m having a little trouble starting sshd. When I try to start it, I get
the following error messages:

Could not load host key: /usr/etc/ssh_host_key
Could not load host key: /usr/etc/ssh_host_rsa_key
Could not load host key: /usr/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available – exiting

What do I need to do to generate the preceeding files? Also, could someone
post a sample sshd_config file?
TIA

Check out http://www.openssh.org/manual.html for documentation.

Basically, you need to run ssh-keygen and copy the keys into /usr/etc/
the documentation will show you how and how to make a sshd_config file.

Good Luck.

Daryl Low

Rover Fan <RoverFan@chartermi.net> wrote:

I’m having a little trouble starting sshd. When I try to start it, I get
the following error messages:

Could not load host key: /usr/etc/ssh_host_key
Could not load host key: /usr/etc/ssh_host_rsa_key
Could not load host key: /usr/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available – exiting

What do I need to do to generate the preceeding files? Also, could someone
post a sample sshd_config file?
TIA

Are you using the ssh package (2.9.9p2) from http://qnx.wox.org/packages/6.1?

The latest ones should be auto-generating these files for you when you install.

chris


Daryl Low <dlow@qnx.com> wrote:

Check out > http://www.openssh.org/manual.html > for documentation.

Basically, you need to run ssh-keygen and copy the keys into /usr/etc/
the documentation will show you how and how to make a sshd_config file.

Good Luck.

Daryl Low

Rover Fan <> RoverFan@chartermi.net> > wrote:
I’m having a little trouble starting sshd. When I try to start it, I get
the following error messages:

Could not load host key: /usr/etc/ssh_host_key
Could not load host key: /usr/etc/ssh_host_rsa_key
Could not load host key: /usr/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available – exiting

What do I need to do to generate the preceeding files? Also, could someone
post a sample sshd_config file?
TIA

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<