I accidently uninstalled SSH. How do I reinstall it?
I accidently uninstalled SSH. How do I reinstall it?
Are you serious or is this a joke? realy ssh and not ssl?
Well, I don't know how you could do it, but
as root should work.Code:yum install openssh-server
You might have to ask your server provider to do it for you.
Edit: That would work on RedHat and CentOS type distros
Last edited by Voltar; 05-03-2007 at 06:43 PM. Reason: Added note.
I am using cent os and i use the config explorer plugin and the commands seem to work in there. Its very odd.
You can try to: WHM --> Software --> Install A RPM --> and sellect there openssh-server and push install
Interesting. There is no RPMs in the Install RPM area and when I try to install Open SSH it gives me the following error: # cd /
# yum install openssh-server
http://download.lxlabs.com/download/...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: lxlabsupdate
failure: repodata/repomd.xml from lxlabsupdate: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from lxlabsupdate: [Errno 256] No more mirrors to try.
Setting up Install Process
Setting up repositories
Not 100% on that, there might be dependencies you need.Code:wget http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/openssh-server-3.9p1-8.RHEL4.15.i386.rpm rpm -Uvh openssh-server-3.9p1-8.RHEL4.15.i386.rpm
error: Failed dependencies:
openssh = 3.9p1-8.RHEL4.15 is needed by openssh-server-3.9p1-8.RHEL4.15.i386
download and install it first.
Code:http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/openssh-3.9p1-8.RHEL4.15.i386.rpm
It says # cd /
# rpm -Uvh openssh-server-3.9p1-8.RHEL4.15.i386.rpm
Preparing... ##################################################
package openssh-server-3.9p1-8.RHEL4.15 is already installed
#
Is there any way to reinstall cpanel? do a full reinstall without a total data loss? I have over 60 accounts on this server.
I don't think you need to reinstall to fix the problem, have you tried restarting sshd in WHM now because it seems that ssh is still/already installed.
WHM >> Restart Services >> SSH server