SSH Login Again
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? :( |
Anyone? :(
|
have you actually tried running "sshd" as root?
|
Occasionally RPM based distros get confused if something is actually installed or not. Check your RPM database:
rpm -qa | grep ssh And see what packages pull up. Post em up ;) Cool |
Will do.
Con.....ya, it says not found :( |
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 :) Cool |
Well, here's what pops up:
[sibblegp@pcp03914849pcs sibblegp]$ rpm -qa|grep ssh openssh-clients-3.5p1-7mdk openssh-3.5p1-7mdk So openssh is on there, but let me see what I can do. Oh, and also: [root@pcp03914849pcs sibblegp]# urpmi openssh Everything already installed But there is no sshd anywhere :( |
Hmmm...
Yeah, don't worry about installing it then, I thought you meant from your above post it wasn't showing up as installed :) find /usr -iname ssh Try that, see what you come up with. In the meantime, I'm gonna hit up my Mandrake install and see what's up. Cool |
Figured it out :) Well, sorta....
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. |
Okay, the daemon and client are seperate here:
urpmi opensshd :) After to start it: /etc/init.d/sshd :) Cool |
Well, it's all installed, but like I mentioned above, there are no host keys.....any idea how to generate them?
|
/etc/init.d/sshd start
It's all done for you ;) Cool |
Just rebooted and it's all set :) THANKS A TON!!!!!
|
You're welcome, glad I could help :)
Cool |
All times are GMT -5. The time now is 03:08 PM. |