Re: [CentOS] Problem with disconnecting SSH-sessions

2020-01-12 Thread H
On 12/26/2019 08:13 PM, Gordon Messmer wrote: > On 12/26/19 2:49 PM, H wrote: >> I just looked at the settings in /etc/ssh/ssh_config on the workstation - >> which should apply to all users on it - I already had: >> >> Host * >>   TCPKeepAlive yes >>   ServerAliveInterval 60 > > > Well, keep-alive

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread Gordon Messmer
On 12/26/19 2:49 PM, H wrote: I just looked at the settings in /etc/ssh/ssh_config on the workstation - which should apply to all users on it - I already had: Host *  TCPKeepAlive yes  ServerAliveInterval 60 Well, keep-alive options would only make a difference if the problem were a DNAT

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread R C
are you using ssh to connect to a server, and from there do a scp? If so, your ssh session might be the  one timing out,and not the scp session, due to inactivity on the terminal session.  you can always use the -vvv option, to see more detailed msgs about what is going on. Ron On 12/25/19

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread H
On 12/26/2019 05:05 PM, H wrote: > On 12/26/2019 04:45 PM, Gordon Messmer wrote: >> On 12/26/19 12:59 PM, H wrote: >>> Are my observations above still consistent with your hypothesis? >> >> Largely, yes.  I'm not sure why you'd be disconnected while transferring >> data (one of scp or sftp, right?

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread H
On 12/26/2019 04:45 PM, Gordon Messmer wrote: > On 12/26/19 12:59 PM, H wrote: >> Are my observations above still consistent with your hypothesis? > > > Largely, yes.  I'm not sure why you'd be disconnected while transferring data > (one of scp or sftp, right?), but it sounds like a DNAT-related l

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread Gordon Messmer
On 12/26/19 12:59 PM, H wrote: Are my observations above still consistent with your hypothesis? Largely, yes.  I'm not sure why you'd be disconnected while transferring data (one of scp or sftp, right?), but it sounds like a DNAT-related limit. __

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread H
On 12/26/2019 02:47 PM, Gordon Messmer wrote: > On 12/25/19 6:56 AM, H wrote: >> I have tried to make sure the sshd configuration on all servers are >> identical but still have this problem. I can rule out a general problem with >> the router in my office since all connections are via that router

Re: [CentOS] Problem with disconnecting SSH-sessions

2019-12-26 Thread Gordon Messmer
On 12/25/19 6:56 AM, H wrote: I have tried to make sure the sshd configuration on all servers are identical but still have this problem. I can rule out a general problem with the router in my office since all connections are via that router, the only difference is that the problematic server i

[CentOS] Problem with disconnecting SSH-sessions

2019-12-25 Thread H
I am running CentOS 7 on a workstation and CentOS 6 and 7 on a couple of servers I am remotely connecting to using the same username and thus ssh configuration. However, one of the servers running CentOS 6 I keep getting disconnected from whereas I have no such problems with another CentOS 6 ser