Results 1 to 7 of 7
  1. #1

    remove n reinstall ssh

    Hello

    I did
    yum erase openssh-server and still the ssh is not removed

    i further deleted ssh directory but I am not able to reinstall it

    yum instal openssh-server says
    package alreaddy installed
    L1/L2/L3 tasks at reasonable hourly rates
    tasks: request a quote ::hireonline@live.com
    myprogrammingtutorials

  2. #2
    Join Date
    Mar 2009
    Location
    Gods Own Country
    Posts
    681
    Why do you want to remove and reinstall openssh server?

    Post the result of

    rpm -qa | grep ssh

  3. #3
    Join Date
    Aug 2012
    Location
    United Kingdom
    Posts
    35
    Quote Originally Posted by 4hire View Post
    Hello

    I did
    yum erase openssh-server and still the ssh is not removed

    i further deleted ssh directory but I am not able to reinstall it

    yum instal openssh-server says
    package alreaddy installed

    Hi,

    In order to remove openssh-server, try the following command:

    Code:
    yum remove openssh-server
    Then install again using:

    Code:
    yum install openssh-server
    You can also reinstall using yum:

    Code:
    yum reinstall openssh-server
    Kind Regards.
    RapidTechHosting Premium | DDOS Protected | High Performance Web Hosting Services
    UK BASED - In business since 2011)

  4. #4
    Join Date
    Dec 2012
    Posts
    219
    Did you check if package was removed completely? Try

    rpm -qa | grep openssh*

    Probably openssh client is still install there.
    TronicHost.com - Offshore Web Hosting Provider. Netherlands/Romania || 24x7 Support
    Shared/Reseller Hosting | Offshare VPS/Dedicated Server. Paypal/Perfectmony/Payza/Bitcoin accepted

  5. #5
    why would you even consider removing and re-installing ssh ?!

  6. #6
    I'm not sure you can uninstall ssh (unless you have another protocol running) because you seem to be doing it via ssh. (uninstalling ssh via ssh)

  7. #7
    I tried it many times but i didnt faced such issue.
    u can try following :-

    Step1: Stop SSH service before uninstalling it.

    service sshd stop

    chkconfig sshd off


    Step2: Remove ssh package from the machine by using below yum command.


    yum remove openssh-server

    or to completely remove the package as well from the machine use below command

    yum erase openssh-server


    Step3: Than install it again:-

    yum install openssh-server* -y

    Hope this will work for you.

Similar Threads

  1. Replies: 6
    Last Post: 03-28-2013, 06:05 AM
  2. Need to remove/reinstall an SSL certificate
    By DataDork in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 09-13-2005, 04:45 PM
  3. postgresql fail. how-to remove n reinstall?
    By 0218 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-23-2004, 03:08 PM
  4. How do I COMPLETELY remove Plesk without a OS reinstall?
    By robgct in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 08-22-2004, 02:49 AM
  5. Remove Perl 5.6.0 and reinstall 5.6.1?
    By torwill in forum Hosting Security and Technology
    Replies: 0
    Last Post: 05-11-2003, 11:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •