Linux periodically "losing" ability to connect to server via SSH?

Posted by gct on Super User See other posts from Super User or by gct
Published on 2010-03-18T23:18:56Z Indexed on 2010/03/19 0:01 UTC
Read the original article Hit count: 203

Filed under:
|

I know this isn't exactly a programming question, but it popped up in my use of git for programming projects at least. I've got a web server that I use to host my git repos on, but my ubuntu box seems to "lose" the ability to connect to it via SSH. I'll get a "connection refused" error when I try to ssh or use git. Rebooting my local machine will fix the problem, but only temporarily. I can still connect to the web interface just fine, and the problem manifests with other servers as well.

I've been working around it by pulling my changes over to my laptop and pushing from there, but that's sub-optimal as you can imagine. Has anyone seen something like this? I'd be tempted to say it's some kind of IP caching problem, but I can't connect even using the IP address of the server directly...

Running Ubuntu 9.04

© Super User or respective owner

Related posts about ssh

Related posts about linux