Problems running sshd on gentoo
I ran
Code:
emerge sshd Code:
ssh-keygen -b 1024 -t rsa1 -f /etc/ssh/ssh_host_key -N "" |
Sshd's own host keys /etc/ssh/ssh_host_* are chmod 0600, their public counterparts (/etc/ssh/ssh_host_*.pub) are 0644. Please post the actual and full errors.
|
Quote:
|
root@mendocino locazor # sshd -h /etc/ssh/ssh_host_rsa_key.pub
Try running "/etc/init.d/sshd start". If it fails try "/etc/init.d/sshd status" and post the errors. BTW, if you *must* a host key, then use /etc/ssh/ssh_host_dsa_key, not the dot pub one. |
Quote:
|
http://www.linuxquestions.org/questi...49#post681149: Sshd's own host keys /etc/ssh/ssh_host_* are chmod 0600, their public counterparts (/etc/ssh/ssh_host_*.pub) are 0644.
If chmodding doesnt work, please post the init script in BB "code" tags (to preserve the format) and the output of "ls -al /etc/ssh". Bit awkward, this. |
chmod didn't help either, but I deleted all my host keys and ran the /etc/init.d/sshd start script, then it generated the keys for itself and it worked. Thanks for your help :)
|
Np.
|
Quote:
thanks for posting that. it resolved an issue I have had (fighting intermittently) for three days. :) I guess using the script to start it allows for a little more interaction that just firin it up. |
All times are GMT -5. The time now is 09:12 AM. |