Ticket #2428 (closed bug: invalid)

Opened 5 months ago

Last modified 4 months ago

[sshd] can't start sshd

Reported by: diver Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

When i try to start sshd from Terminal i get the following message:

Could not load host key: /boot/home/config/etc/ssh_host_rsa_key
Could not load host key: /boot/home/config/etc/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.



cat /boot/beos/etc/passwd

sshd:x:1001:100:sshd user:/var/empty:/bin/true
baron:x:0:0:Diver:/boot/home:/bin/bash

Change History

Changed 5 months ago by anevilyak

That sounds like what happens if you have no image host name set. Assuming you're building your own, add something like:

HAIKU_IMAGE_HOST_NAME = test ;

To your UserBuildConfig.

Changed 5 months ago by diver

cat build/jam/UserBuildConfig | grep ROOT HAIKU_ROOT_USER_REAL_NAME = Diver ;

It has been added month ago.

Changed 5 months ago by mmlr

It's about the host name though, not the root user.

Changed 5 months ago by diver

Yeah, my bad. Would be nice if HAIKU_IMAGE_HOST_NAME would be set to some default value (baron?) if not overriden by user.

Changed 4 months ago by diver

This should be closed as invalid.

Changed 4 months ago by bonefish

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.