#1 (permalink)  
Old 05-03-2007, 07:30 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
How to reinstall SSH

I accidently uninstalled SSH. How do I reinstall it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-03-2007, 07:39 PM
Registered User
 
Join Date: Jan 2007
Location: The Netherlands
Posts: 171
rone is on a distinguished road
Are you serious or is this a joke? realy ssh and not ssl?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-03-2007, 07:40 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
No I am serious.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-03-2007, 07:43 PM
Registered User
 
Join Date: Apr 2007
Location: Bakersfield, California
Posts: 265
Voltar is on a distinguished road
Well, I don't know how you could do it, but

Code:
yum install openssh-server
as root should work.

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 07:43 PM. Reason: Added note.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-03-2007, 07:45 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
I am using cent os and i use the config explorer plugin and the commands seem to work in there. Its very odd.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-03-2007, 07:46 PM
Registered User
 
Join Date: Jan 2007
Location: The Netherlands
Posts: 171
rone is on a distinguished road
You can try to: WHM --> Software --> Install A RPM --> and sellect there openssh-server and push install
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-03-2007, 07:49 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-03-2007, 07:53 PM
Registered User
 
Join Date: Apr 2007
Location: Bakersfield, California
Posts: 265
Voltar is on a distinguished road
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
Not 100% on that, there might be dependencies you need.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-03-2007, 07:56 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
error: Failed dependencies:
openssh = 3.9p1-8.RHEL4.15 is needed by openssh-server-3.9p1-8.RHEL4.15.i386
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-03-2007, 07:58 PM
Registered User
 
Join Date: Apr 2007
Location: Bakersfield, California
Posts: 265
Voltar is on a distinguished road
download and install it first.

Code:
http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/openssh-3.9p1-8.RHEL4.15.i386.rpm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 05-03-2007, 08:04 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 05-03-2007, 08:07 PM
Registered User
 
Join Date: Apr 2007
Location: Bakersfield, California
Posts: 265
Voltar is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 05-03-2007, 08:07 PM
Registered User
 
Join Date: Jan 2007
Posts: 46
grabyourhosting is on a distinguished road
Nevermind I restarted SSH. It now works. Thank you guys!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc