FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-12-2007, 01:26 PM
Centos
 
Default ssh terminal froze once in a while

we are using iptables, but as far as I know there is no timeout set on
our iptables.



this is happening sporadically.



I thought that if it is related to network we will receive some kind of
connection error and not freezing screen.



Thanks for help



Simon Jolle wrote:

2007/12/12, Centos <centos@unixplanet.biz>:


My ssh terminal froze some times, and I was thinking it might be related
to centos ,
but now I found that even ubuntu users experiencing the same problem.



Is there a firewall between your client and the server (that kills the
session after inactivity)? Try the keep alive option.

cheers
Simon






_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 02:31 PM
Milton Calnek
 
Default ssh terminal froze once in a while

I've had problems with xterm locking up.
It seems related to using ascii colors.

At first I thought it was an ssh problem because it mostly happened on
remote machines, but then it started happening locally too.



we are using iptables, but as far as I know there is no timeout set on
our iptables.


this is happening sporadically.

I thought that if it is related to network we will receive some kind of
connection error and not freezing screen.


Thanks for help

Simon Jolle wrote:

2007/12/12, Centos <centos@unixplanet.biz>:


My ssh terminal froze some times, and I was thinking it might be related
to centos ,
but now I found that even ubuntu users experiencing the same problem.



Is there a firewall between your client and the server (that kills the
session after inactivity)? Try the keep alive option.

cheers
Simon




--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.


------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


--
Milton Calnek BSc, A/Slt(Ret.)
milton@calnek.com
306-717-8737


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 05:21 PM
"Alain Spineux"
 
Default ssh terminal froze once in a while

On Dec 12, 2007 2:45 PM, Centos <centos@unixplanet.biz> wrote:
> Hello
>
> My ssh terminal froze some times, and I was thinking it might be related
> to centos ,
> but now I found that even ubuntu users experiencing the same problem.
>
> does ssh logs any where, and what do you suggest for finding the cause.

I suffer this kind of problem using putty for long time now. The
terminal freeze for about
45s to 3min. Other putty session are still working.
I got this for 2 or 3 years now, on about all RedHat distribution and
clone from RH Linux 8.0
and on a lot of different network infrastructure, with different hardware.
The most common part is WinXP and putty, but in all version and service pack.

My workaround is : patience :-(




>
> Thanks
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 05:49 PM
"Alain Spineux"
 
Default ssh terminal froze once in a while

On Dec 12, 2007 7:21 PM, Alain Spineux <aspineux@gmail.com> wrote:
> On Dec 12, 2007 2:45 PM, Centos <centos@unixplanet.biz> wrote:
> > Hello
> >
> > My ssh terminal froze some times, and I was thinking it might be related
> > to centos ,
> > but now I found that even ubuntu users experiencing the same problem.
> >
> > does ssh logs any where, and what do you suggest for finding the cause.


Ops, I'm thinking about of a lack of entropy!
Maybe the ssh session is renewing the connection keys and need some
entropy to generate them.
Maybe the use of /dev/urandom instead of /dev/random ....


Regards

>
> I suffer this kind of problem using putty for long time now. The
> terminal freeze for about
> 45s to 3min. Other putty session are still working.
> I got this for 2 or 3 years now, on about all RedHat distribution and
> clone from RH Linux 8.0
> and on a lot of different network infrastructure, with different hardware.
> The most common part is WinXP and putty, but in all version and service pack.
>
> My workaround is : patience :-(
>
>
>
>
>
> >
> > Thanks
> > _______________________________________________
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>



--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 07:34 PM
Toby Bluhm
 
Default ssh terminal froze once in a while

Centos wrote:

Hello

My ssh terminal froze some times, and I was thinking it might be
related to centos ,

but now I found that even ubuntu users experiencing the same problem.

does ssh logs any where, and what do you suggest for finding the cause.



Had the same/similar problem. Our home dirs are nfs mounted from a linux
box & if I explicitly set the nfs mount options in fstab instead of
using the catchall "default" , the problem seems to go away. Workign
locally on the client on the nfs home dir was OK, just that an ssh
session to another box ( and same nfs home dir ) would occasionally hang
after time.


Never found any complaints in any log files - discovered my "cure" by
accident really.


--
Toby Bluhm
Midwest Instruments Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2240


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 08:32 PM
Clint Dilks
 
Default ssh terminal froze once in a while

Centos wrote:
we are using iptables, but as far as I know there is no timeout set on
our iptables.


this is happening sporadically.

I thought that if it is related to network we will receive some kind
of connection error and not freezing screen.


Thanks for help

Simon Jolle wrote:

2007/12/12, Centos <centos@unixplanet.biz>:


My ssh terminal froze some times, and I was thinking it might be related
to centos ,
but now I found that even ubuntu users experiencing the same problem.



Is there a firewall between your client and the server (that kills the
session after inactivity)? Try the keep alive option.

cheers
Simon



------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Hi just as a question is anyone actually restarting sshd on the machine
that you see this? Because often the SSH rule is set up for new
connections, and I have seen existing ssh drop because of this.


Have a nice day
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 10:55 PM
Miark
 
Default ssh terminal froze once in a while

> My ssh terminal froze some times, and I was thinking it might
> be related to centos , but now I found that even ubuntu users
> experiencing the same problem.

This happens to me when I SSH from a Mandriva box to my CentOS
server. It does not happen when I SSH to another Mandriva box,
so it's a CentOS thang.

I turned on the TCP keep alive option in the SSH configuration,
but it still happens. This is exceptionally annoying.

Miark
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 11:10 PM
Steve Searle
 
Default ssh terminal froze once in a while

Around 01:45pm on Wednesday, December 12, 2007 (UK time), Centos scrawled:

> Hello
>
> My ssh terminal froze some times, and I was thinking it might be related
> to centos ,
> but now I found that even ubuntu users experiencing the same problem.
>
> does ssh logs any where, and what do you suggest for finding the cause.

Try changing /etc/ssh/sshd_config as follows:

...
ClientAliveInterval 30
ClientAliveCountMax 5
...

see: http://www.stevesearle.com/tech/centos5.0.svr.html#securessh

Steve

--

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?

00:08:58 up 74 days, 11:05, 1 user, load average: 0.15, 0.07, 0.01
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-13-2007, 03:37 AM
Miark
 
Default ssh terminal froze once in a while

On Thu, 13 Dec 2007 00:10:05 +0000, Steve wrote:

> Try changing /etc/ssh/sshd_config as follows:
>
> ...
> ClientAliveInterval 30
> ClientAliveCountMax 5
> ...
>
> see:
> http://www.stevesearle.com/tech/centos5.0.svr.html#securessh


Doesn't work for me, unfortunately.

Miark
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-13-2007, 11:32 AM
Kai Schaetzl
 
Default ssh terminal froze once in a while

Alain Spineux wrote on Wed, 12 Dec 2007 19:21:18 +0100:

> The most common part is WinXP and putty, but in all version and service pack.

I've been using Putty in various versions for years multiple times a day and
from various locations and thru various connection methods. I don't see any
difference when connecting to CentOS or Suse or FreeBSD, it's just fine and
stays fine over hours or days. Also no problems with "inter-linux" connections
(which I do on the command-line, not with a GUI client).
Especially in the case of Windows I'd suspect an "overzealous" personal
firewall or other security product causing your problems. It might also depend
on the NAT or firewall configuration.

Kai

--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org