Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th January 2009, 16:41
mdk mdk is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default ssh stop answering requests

I have trouble with ssh external requests, however I do not have problem in the network

I have two networks, with two debian etch and two different routers ...

router 1>> network 1>> debian 1 with shorewall operating>> ssh stop answering randomly from the Internet, this happens when I connect to router 2>> network 2>> debian 2 by ssh, once I'm connected, I launch a ssh from debian2 to debian1 (which does not answer the external ssh requests just at that moment, but it does in the local network, which makes me discard any problem with the ssh service) what is surprising is that if I do, for example a w3m barrapunto.com and the site doesn't load, although I can load other sites .. allright, then the 'dns inspiration' comes again, I can browse to barrapunto and the external ssh requests go back to normal condition, it means that it answers and works perfectly ... may be related to the dns problem that sometimes stops the translation? I think that the router gets 'saturated' when it doesn't know how to translate the names and does not admit external ssh connections .... has something similar happened to someone? is quite odd but always match one thing with the other.

I also want to comment that I have stopped the avahi-daemon and in the /etc/ssh/sshd_config I have the value 'UseDNS = no'

thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2009, 12:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

This looks like a firewall problem to me...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th January 2009, 13:14
mdk mdk is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

interesting when it is apparent that the "bug" at once (for testing do) one of the ips deny public access to fixed permitted by the user chrooted ssh and sftp by immediately iptables DROP shows me the connection, I guess that to make the router works DROP, summarizing that for a lot more things involved ACCEPT .. accept connections port 22, dns query's (obviously) and the authentication system, so maybe the router is currently being hung
Reply With Quote
  #4  
Old 18th January 2009, 17:06
mdk mdk is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have another problem when it is launched after a ssh login to the server I was hung, summarizing an ssh-vvv launched against the server and I was frozen after putting the password>> debug2: channel 0: open confirm rwindow 0 rmax 32768, no access to the bash...if not all may be associated with the same problem...buf!
Reply With Quote
  #5  
Old 18th January 2009, 23:37
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

are you sure that the ssh service is running ?
Reply With Quote
  #6  
Old 19th January 2009, 08:39
mdk mdk is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, ssh is running.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monit on Debian Hans Tips/Tricks/Mods 2 6th October 2008 13:53
Monit & Munin SamTzu HOWTO-Related Questions 1 4th May 2008 18:03
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
SSH DIED - Virtual Users And Domains With Postfix, Courier And MySQL herbie HOWTO-Related Questions 2 12th December 2006 02:16
SSH port forwarding (SQLYog Tunnel) mastorna Server Operation 0 22nd June 2006 01:16


All times are GMT +2. The time now is 12:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.