Displaying 20 results from an estimated 1000 matches similar to: "KeepAlive/ClientAliveInterval not working? Idle timeout."
2018 Feb 12
4
Problem with ssh disconnecting
Running CentOS 7 on workstation and having a problem with ssh disconnects. My ssh_config contains:
Host *
TCPKeepAlive yes
ServerAliveInterval 30
ServerAliveCountMax 300
and sshd_config on the server contains:
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 300
Have I missed any setting needed to prevent these random disconnects? I don't think there is anything wrong with the
2018 Feb 13
4
Problem with ssh disconnecting
On 02/12/2018 07:24 PM, Liam O'Toole wrote:
> On 2018-02-12, H <agents at meddatainc.com> wrote:
>> Running CentOS 7 on workstation and having a problem with ssh
>> disconnects. My ssh_config contains:
>>
>> Host *
>> TCPKeepAlive yes
>> ServerAliveInterval 30
>> ServerAliveCountMax 300
>>
>> and sshd_config on the server contains:
2015 Oct 08
5
problem on exceptional quit
Dear Centos Users:
I installed Centos 7 on my server a few months ago. While using ssh, there is always a strange message "Write failed: Broken pipe?. It forces quit of SSH. It?s really annoying as it happens very often with irregular time interval - from a couple of minutes to a few hours. I have been working using Linux (Red Hat, Fedora and Centos) over 15 years. This didn?t happen for me
2007 Dec 19
4
[Bug 1404] New: Make keepalive work properly with Cisco PIX/ASA boxes
https://bugzilla.mindrot.org/show_bug.cgi?id=1404
Summary: Make keepalive work properly with Cisco PIX/ASA boxes
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo:
2010 Aug 02
7
Persistent SSH sessions
Hi all
I have an ADSL modem which reboots when there is a power cut and the
inverter (UPS) kicks in. Internet access is down for a duration of 1
to 2 minutes while the modem boots.
I have many SSH tunnels and shells active. Due to the default
"TCPKeepAlive On" setting, these sessions are terminated almost
immediately.
I tried the following configuration:
sshd_config on server:
2012 Jan 10
1
Configuration file TCPKeepAlive option does not work reliably
Hi!
There are configuration knobs (TCPKeepAlive) to enable/disable the use of TCP keepalives both in the ssh client and server. Unfortunately some UNIX systems default to SO_KEEPALIVE=on and some to =off. This may even be settable on a per host basis (OpenBSD default net.inet.tcp.always_keepalive=1 ???).
For the TCPKeepAlive configuration knob I would like to propose changes along the lines
2007 Dec 02
3
Setting SSH timeout
i'm trying to disconnect idle users from my system by editing
/etc/ssh/sshd_config
i have set
TCPKeepAlive no
ClientAliveInterval 2
and restarting sshd services /etc/rc.d/sshd restart
but it still wont disconnect any idle client
any advice is highly appreciated
areadamai
freebsd user
2013 Jan 03
1
Openssh connection closes from time to time. why?
Hey there,
I just replaced long lived Gentoo to a Centos 6.3 on 2 servers.
Since the move I had troubles with ssh open sessions.
I am connecting from a windows machine via putty and then all of a
sudden it saying something about connection closing.
The OpenSSH version is: openssh-server-5.3p1-81.el6.x86_64.rpm
I tired to configure:
tcp_keep_alive
TCPKeepAlive yes
ClientAliveInterval 240
2005 Nov 30
1
ClientAliveInterval Question
Hi
is there a reason why the ClientAliveInterval is 0 (i.e. turned of)
by default?
frank
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
2010 Feb 26
4
ClientAliveInterval
Hi,
I am having some trouble with the ClientAliveInterval server setting. My
(C++) application fails to start an SSH channel to an OpensSSH server within
this time-out period if it doesn't reply correctly to this 'keep-alive'
no-op that is sent by the server. How is this no-op handled? I am using the
libssh client library, and I could find no references on how to handle this.
2007 Jun 24
2
IdleTimeout patch did not get in?
Doing a search in the list archives, I see that in 2001/2002 there was
a patch made available for IdleTimeout keyword, for example:
http://marc.info/?l=openssh-unix-dev&m=99838019319356&w=2
Looks like that patch did not make it in the following versions of
OpenSSH - is there a reason why - any chance of the patch getting
back in?
I do know about ClientInterval, but I think I need
2007 Jul 24
1
ssh client does not timeout if the network fails after ssh_connect but before ssh_exchange_identification, even with Alive options set
Hello,
I am testing ssh with occasional network disconnection between server and
client during these days. I found ssh sometimes hangs if the disconnection
happens after the connection is established but before
ssh_exchange_identification completes. The ssh configuration files show that
both client and server alive options are set.
In /etc/ssh/ssh_config:
# Send keepalive messages to the server.
2008 Dec 30
1
Set connection timeouts?
Hello,
Perhaps you could give some information here or redirect me, because it was
not clear while reading manuals: how can connection timeout be set for sshd?
Problem is, when some system is hibernated and it resumes, connections are
dead. Mostly I made a successful workaround, but would be nice to know...
Also, which version of ssh(d) support df on sshfs?
I hope, is not a problem to enlighten
2021 Nov 10
7
[Bug 3362] New: [RFE] Implement a mechanism to disconnect idle users
https://bugzilla.mindrot.org/show_bug.cgi?id=3362
Bug ID: 3362
Summary: [RFE] Implement a mechanism to disconnect idle users
Product: Portable OpenSSH
Version: 8.8p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee:
2002 Nov 25
2
[Bug 443] Ability to set KeepAlive time
http://bugzilla.mindrot.org/show_bug.cgi?id=443
------- Additional Comments From dtucker at zip.com.au 2002-11-25 14:37 -------
The "KeepAlive" option enables TCP_KEEPALIVE on the socket which uses a
system-wide setting (normally 2 hours according to Stevens.)
There is a "Heartbeat" patch for openssh which does what you want, see
2006 Jun 20
1
unable to login with LDAP when set Uselogin to yes
Hi,
I am not sure this is a bug in Openssh or not.
I am running Openssh 4.1p1. with openssl 0.9.7g
Scenario:
Due to audit enabled on the system, I will need to set Uselogin to yes so
that audit will track system call.
But when try to login to system with a LDAP user. I get the following.
eg:
[n113839 at r3ent15pc ~]$ ssh tfstst1 -l ntesting1
ntesting1 at tfstst1's password:
Login incorrect
2006 Jan 20
1
openssh-4.2p1 + Pam question !
Hi there !
I have an issue with my OpenSSH + PAM configuration on a RedHat Advanced server 2..1
I want to authenticate users connecting to a server using ssh against a radius server. The radius client/server part works ok when I test it with some utilities.
I think I have a problem with my ssh which does not pass the username/password to my pam sshd module.
I have upgraded to openssh-4.2p1.
2016 Sep 27
4
[Bug 2618] New: net-misc/openssh-7.2_p2: Terribly slow Interactive Logon
https://bugzilla.mindrot.org/show_bug.cgi?id=2618
Bug ID: 2618
Summary: net-misc/openssh-7.2_p2: Terribly slow Interactive
Logon
Product: Portable OpenSSH
Version: 7.2p2
Hardware: amd64
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: sshd
2013 Dec 20
13
[Bug 2190] New: Nagios command check_ssh
https://bugzilla.mindrot.org/show_bug.cgi?id=2190
Bug ID: 2190
Summary: Nagios command check_ssh
Product: Portable OpenSSH
Version: 6.2p1
Hardware: ix86
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
2005 Dec 01
3
Samba 3.0.9 ==> 3.0.14a migration LDIF problem
I'm trying to migrate my existing RedHat ES Samba PDC to Ubuntu. The RedHat version of Samba is 3.0.9 and the Ubuntu version is 3.0.14a. Everything was going fine until I tried to import the LDIF of the existing LDAP directory. The LDIF actually imports all of the structure (OU and Group definitions) and all of my users, but it fails when it comes to my first machine account with this