ssh timing out after Fedora 13 to Fedora 14 upgrade
A few weeks ago I upgraded one of my laptop from Fedora 13 to Fedora 14 (using pre-upgrade). The upgrade went smoothly and no errors appeared. However ever since the upgrade ssh is not working anymore. I've tried various servers inside and outside the local network. I can't contact any of them. In all cases I get:
- checked internet connection. No problem there. Another laptop is working fine using the same connection and the same ethernet cable. That laptop is still using Fedora 13, since I didn't want to get stuck without ssh completely.
- checked "messages" log. No messages at the time of ssh connect attempt.
- checked "secure" log. No messages at the time of ssh connect attempt.
- checked the firewall settings. The settings are exactly the same as before the upgrade (when ssh was still working). Moreover, the settings are the same as the other laptop that is working.
- temporarely switched off the firewall. No difference.
- temporarely switched off selinux. No difference.
So it doesn't seem to be a firewall or selinux problem. And I know the connection is working, so it does not seem to be a routing problem either. What am I missing here?
- Asus EEE PC (1 GB RAM, intel atom processor);
- Fully up-to-date Fedora 14 (kernel 22.214.171.124-91.fc14.i686)
Let me know what else you need and I'll post it.
i bet you did not remove orphan fedora 13 rpms ( ones that are NOT in 14 )
14 removed a few and replaced other programs with different ones
install yum-utility and run the remove orphans option
" yum search yum "
Nope, didn't forget that. It was the first time I used preupgrade, so I dutifully followed the steps on wiki page (http://fedoraproject.org/wiki/PreUpgrade).
I did get some .rpmsave and .rpmnew files. The only ones of note maybe are sssd.conf and ldap.conf. But I checked them and I couldn't find anything wrong with them. Could these have anything to do with this?
".rpmsave and .rpmnew files"
most likely not a problem
These just allow you to back out of settings changes or reset the new files with the values saved in the rpmsave file
check the new config files against and rpmsave back ups to see if there are different
one thing that might cause problems in the settings in files in the ~ folder (/home/YourUserName or /root )
for something like ssh ?
go through and reset everything .Something did not upgrade right .It happens , that is why i always did fresh installs with fedora .
Already had a look at the .ssh folder and cleaned the knownhosts file.
But the problem seems to be system-wide. I've tried ssh from two used accounts and as root. All suffer the time-out. I've checked the /etc/ssh/sshconfig against my other Fedora 13 version and they're the same.
I think I can force a re-install of ssh from yum. Maybe that'll help ... I really don't want to go through a fresh install just to get ssh up and running. That feel so windows-like.
Have you checked that the service is running?
Try (on the machine you are trying to access):
$ service sshd status
and see if it is.
On this Fedora 14 laptop I don't have the ssh deamon (sshd) running. This is not necessary. I only want to use the ssh client (ssh) to connect to a server. And that's timing out.
Obviously on the servers that I'm trying to connect to the ssh deamon (sshd) needs to be running. Since I can connect to these servers from my other (Fedora 13) laptop, this is not an issue.
By the way, I'm administrator of one of the servers that I'm trying to use. I've checked the logs on that machine and there are no entries about my connect attempts. It is safe to assume that the connection on Fedora 14 laptop fails before it reaches the server. Hence the "time out" error.
I'm going to try and force a reinstall of the ssh client later today. Let see what happens.
The problem seems to have "solved" itself. But I have no clue what happened ...
I reinstalled (open)ssh, but I still got a connection time out.
It did occur to me (only now) to check where the connection was timing out. So I used traceroute and something interesting popped up. When tracing the route on the functioning (Fedora 13) laptop, I got:
Just out off curiosity I decided to hook up my mobile phone and check the route through my mobile internet connection. And what do you? The connection route reached the server!! I tried the ssh connection and it worked through the wireless mobile connection.
But the strangest thing of all: after I disconnected from the mobile connection, I plugged in the cable and tried traceroute and ssh again ... And now it works! I'm completely baffeled. Something must have been reset when I used the wireless connection. I just don't know what ...
I'm glad the connection now works, but I would prefer to understand the root of the problem. So if anybody has any clues, please let me know. It may help people with similar problems.
|All times are GMT -5. The time now is 01:20 AM.|