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!
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.
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:
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:
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.