Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-29-2002, 01:19 PM   #1
LQ Newbie
Registered: Jan 2002
Location: Atlanta
Posts: 1

Rep: Reputation: 0
SSH doesn't work anymore

I installed ssh2 on my redhat 6.2 machine and it used to work just fine.
Then I get people trying to probe my computer through my http port so I blocked their IP chains and installed portmap.
Then I tired of portmap and decided to kill it.
I'm not sure at which point my ssh configuration went awry but I realized only recently after I restarted my computer.
ssh2 started up automatically just fine and the port is open but I can't log in from other computers. Since ssh2 doesn't allow me to connect from machines with ssh1 installed, I then decided to download and install ssh1 (also hoping to solve this misconfiguration problem)
But, my problem still isn't solved and I can't even ssh from my redhat machine.
Anybody have any idea what is going on here?

p/s how do I uninstall ssh2?
Old 01-29-2002, 08:57 PM   #2
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30

First to uninstall t you have to routes:
If you used a tarball/source install search for all references for ssh using the locate command. (locate ssh) And then delete them all if you think the file(s) belong to ssh.

If it was an rpm install then do this:
type: rpm -qa | grep ssh
to get a list of all the ssh packages in the rpm database. then type these commands:
rpm -e <packagename>

substitute packagename for all the packages that showed up after the: rpm -qa | grep ssh command

That takes care of the uninstallation.

Obtain a copy of all the openssh rpms:


replace x.x.x with a version number, currently it's up to 3.0.2 but i personally use 2.9p2.

install them like this:

rpm -i openssh.x.x.x.rpm
rpm -i openssh-server.x.x.x.rpm
rpm -i openssh-clients.x.x.x.rpm

Then you need the configuration man page to get either host-based or public key encryption working.
man sshd

Hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote server, unable to SSH anymore Keiser Linux - Newbie 1 05-06-2005 11:13 PM
cannot login to ssh anymore chadi Linux - General 12 11-18-2004 02:31 PM
New firewall: ssh on port 80 not working anymore... norbi99 Linux - Security 4 10-09-2004 10:14 AM
PHP doesn't work anymore nyk Linux - Software 4 10-06-2004 04:51 AM
Yast2 doesn't work anymore Wels Linux - Software 3 08-02-2004 07:23 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration