Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

NetBSD 1.5 and sshd

已查看 0 次
跳至第一个未读帖子

Saul Good

未读,
2000年12月30日 12:34:302000/12/30
收件人
Hi, could someone please help me? I am trying to start sshd. What am I = doing wrong? To create a hostkey, I type this: 'ssh-keygen -b 1024 -f /etc/ssh_host_key -N example'. Is there anything else needed to start sshd? I get this output: Generating RSA keys: Key generation complete. Your identification has been saved in /etc/ssh_host_key. Your public key has been saved in /etc/ssh_host_key.pub. The key fingerprint is: 82:59:c5:a8:0b:2d:05:d6:1b:6b:c6:85:a3:24:fc:b6 ro...@user.com (edited, not real FQDN
) I then type: '/usr/bin/sshd' and i get: error: Could not load host key: /etc/ssh_host_key: Bad file descriptor Disabling protocol version 1 error: Could not load DSA host key: /etc/ssh_host_dsa_key Disabling protocol version 2 sshd: no hostkeys available -- exiting. sshd: no hostkeys available -- exiting. What more is necessary? I remember when I started ssh on another machine running 1.4.x, this is all I had to do. Or perhaps I've forgotten a step?

tia
/saul


Robert Allerstorfer

未读,
2000年12月31日 04:24:172000/12/31
收件人
Hi,

I just added

sshd=YES sshd_flags=""

to /etc/rc.conf and

Port 22
Protocol 2,1
ListenAddress 192.168.0.5

to /etc/sshd.conf

and after rebooting sshd worked. The 768 bit RSA key has been created automatically.

Saul Good wrote:

ciao,
rob.

0 个新帖子