Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, I went to install openssh as told and it said it was already installed (hence how I can use the command ssh).
However, a ssh server is NOT running on either of the two systems I'm using!!! The command sshd is supposed to set-up/run the server, but I cannot find the sshd executable ANYWHERE using:
find / -name sshd
It's just not there!! And there's no manpage for sshd.
Does Mandrake 9.1 not support this or something? Where'd it go?
No problem, drop in your Mandrake CD, locate the openssh rpm, open up a terminal in that directory and type:
rpm -Uvh openssh-version-mkd.rpm
This will probably fail, but give you the list of other RPM's needed for dependencies. Place all of them on the same line and install em:
rpm -Uvh file1.rpm file2.rpm... openssh-version-mdk.rpm
This should result in a successful install (assuming you get all the files in the 'dependency' string).
If you are feeling up to it at this point (and have a compiler installed) you could also grab the latest source for openssh (www.freshmeat.net) and install that way. It's a biggie so be prepared if you choose that.
Yet another option:
rpm --rebuilddb
This will rebuild the database to show correctly what's installed, this might force urpmi to realize it's not there. You might also be typing the wrong string. Try various ways:
urpmi ssh
urpmi openssh
The SSH server is in the package openssh-server-3.5p1-7mdk.i586.rpm, not in the openssh package
So now I have sshd and I get this error......
[root@pcp03914849pcs RPMS]# sshd
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.