LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2013, 11:39 AM   #1
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
OpenSSH + new router = no go


I have a very strange problem with my new router and OpenSSH. If I do for example "ls -R" on the remote machine, I get some text and then SSH output "freezes" until I press a key on the keyboard. Putty doesn't have this problem on neither Linux nor Windows machines. Nor does it happen if I use my old router.

I've tried "KeepAlive yes" & "TCPKeepAlive yes" on sshd_config on the remote machine, and "ServerAliveCountMax 3" & "ServerAliveInterval 1" on ~/.ssh/config and /etc/ssh/ssh_config on the local machine. Nothing seems to help.

Any ideas?

Last edited by alienDog; 08-19-2013 at 11:45 AM.
 
Old 08-19-2013, 03:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by alienDog View Post
I have a very strange problem with my new router and OpenSSH. If I do for example "ls -R" on the remote machine, I get some text and then SSH output "freezes" until I press a key on the keyboard. Putty doesn't have this problem on neither Linux nor Windows machines. Nor does it happen if I use my old router.

I've tried "KeepAlive yes" & "TCPKeepAlive yes" on sshd_config on the remote machine, and "ServerAliveCountMax 3" & "ServerAliveInterval 1" on ~/.ssh/config and /etc/ssh/ssh_config on the local machine. Nothing seems to help.

Any ideas?
Well, if ALL you changed was the router, that certainly points to the root of the issue. Did you make any changes/modifications to the old router or its configuration? And what kind of routers are you talking about?
 
Old 08-20-2013, 06:57 AM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by TB0ne View Post
Well, if ALL you changed was the router, that certainly points to the root of the issue. Did you make any changes/modifications to the old router or its configuration? And what kind of routers are you talking about?
I had some port forwardings, but I have the same forwardings in this new router. Also, they only deal with incoming connections, so I don't think they have anything to do with outgoing SSH-connections, they shouldn't anyway. The old router was Thomson TG784 and the new one in Inteno DG301AL, they are both provided preconfigured for my DSL by my ISP.
 
Old 08-20-2013, 09:41 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by alienDog View Post
I had some port forwardings, but I have the same forwardings in this new router. Also, they only deal with incoming connections, so I don't think they have anything to do with outgoing SSH-connections, they shouldn't anyway. The old router was Thomson TG784 and the new one in Inteno DG301AL, they are both provided preconfigured for my DSL by my ISP.
You're right...the incoming forwardings won't bother the outgoing ones. I'm sorry to say I've never heard of either of those brands, but if they're pre-configured by the ISP, I have to wonder if their tech support folks wouldn't know something about it? Perhaps you got a flaky unit, or there's some setting they need to change on their side?
 
Old 08-20-2013, 11:30 AM   #5
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by TB0ne View Post
You're right...the incoming forwardings won't bother the outgoing ones. I'm sorry to say I've never heard of either of those brands, but if they're pre-configured by the ISP, I have to wonder if their tech support folks wouldn't know something about it? Perhaps you got a flaky unit, or there's some setting they need to change on their side?
Yeah, I have already contacted my ISP and they're trying to fix it, but I wouldn't hold my breath... I was just wondering if someone else had run into a similar behaviour
 
Old 08-20-2013, 01:19 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by alienDog View Post
Yeah, I have already contacted my ISP and they're trying to fix it, but I wouldn't hold my breath... I was just wondering if someone else had run into a similar behaviour
The only time I had run into that was on a WAN, years ago. But, we controlled both sides of the link, and adjusting things on the router (and on the server), got it going again. But if all you changed was your router, that makes it suspect. Unless, there was a REASON you got a new router...did they 'upgrade' your service, by any chance? Did you change providers?
 
Old 08-22-2013, 02:05 PM   #7
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Hi,

Perhaps you can have a look at the router logs or the firewall logs if any. You can even try upgrading the firmware on the router also. Just a suggestion
 
Old 08-23-2013, 08:11 AM   #8
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 48
My ISP agreed to replace the router, so perhaps a new unit will work. I'll let you know when I receive it The router was originally replaced because I was experiencing some speed issues with the old one. My ISP determined that it was because of the old age of my old router. I.e. there was no upgrade or anything like that, just a new router.

I don't think the router kept any logs, but I'll see that when the new unit arrives if the problem persists. The firmware was already upgraded to the latest version by the ISP (in fact they're running their own firmware in the routers to begin with and there is no possibility for the user to upgrade it).

Last edited by alienDog; 08-23-2013 at 08:17 AM.
 
Old 09-04-2013, 06:07 PM   #9
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 48
Well... My ISP replaced the modem/router with a similar unit, which had exactly the same problem. Unfortunately this was the only modem/router they had available(?!), so in the end I had to get my own. The new one I got (TeleWell tw-eaw510 https://www.telewell.fi/en/product/a...V510/tw-eav510) works perfectly. No sign of any ssh- or any other problems. I get 22/2.2 Mbps speeds on my ADSL-line, which is very decent.
 
  


Reply


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
How to convert openssh keys to openssh tectia format LittleMaster Linux - Server 1 11-17-2012 08:39 AM
About openssh ust Linux - Newbie 1 08-05-2011 10:19 PM
LXer: Why a Distro-Provided OpenSSH is Better than a Third-Party OpenSSH LXer Syndicated Linux News 0 02-02-2011 08:50 AM
i move ssh in mac because i install openssh in my iphone and now i can`t use router aleschultz Linux - Networking 1 12-04-2008 09:27 AM
OpenSSH via Router dream.impres Linux - Newbie 4 08-06-2008 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 AM.

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