Fwd: Re: SSH timeout logoff don't work!

2022-06-27 Thread Conti Stefano
Loïc Grenié thanks!! Work well! I was trying to do a script exactly like your script! Thanks and again thanks!  --- Begin Message --- Hi, Le mar. 21 juin 2022 à 10:14, Conti Stefano a écrit : > Hello! In My Debian 11 SSH timeout logoff not work! I must put in .bashrc > of my user:

Re: SSH timeout logoff don't work!

2022-06-24 Thread Loïc Grenié
Hi, Le mar. 21 juin 2022 à 10:14, Conti Stefano a écrit : > Hello! In My Debian 11 SSH timeout logoff not work! I must put in .bashrc > of my user: TMOUT=600 to loogut after 10 minutes. Work, of course, but > close all bash terminal! > > This is my sshd_config with info for timeout: > >

Re: : SSH timeout logoff don't work!

2022-06-21 Thread didier . gaumet
Le mardi 21 juin 2022 à 23:40 +0200, didier gaumet a écrit : [...] > - if you want to restrict the time of ssh connection and are in > position to modify the ssh command they use (an alias in their bashrc > for example?), perhaps you can try to force the ssh -o option with > the ConnectTimeout

Re: : SSH timeout logoff don't work!

2022-06-21 Thread didier gaumet
Le mardi 21 juin 2022 à 12:52 +0200, Conti Stefano a écrit : > If I put ClientAliveCountMax 1 with ClientAliveInterval 600 timeout > is 1200 inmy Debian 11. I have try all combinations but at the moment > nothing happen; session stay alive! There is somethng but i don't > understand what keep

Re: SSH timeout logoff don't work!

2022-06-21 Thread Nicholas Geovanis
On Tue, Jun 21, 2022 at 6:04 AM Greg Wooledge wrote: > On Tue, Jun 21, 2022 at 10:05:43AM +0200, Conti Stefano wrote: > > Hello! In My Debian 11 SSH timeout logoff not work! I must put in > > .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of > > course, but close all bash

Re: SSH timeout logoff don't work!

2022-06-21 Thread Greg Wooledge
On Tue, Jun 21, 2022 at 02:02:38PM +0200, Conti Stefano wrote: > Excuse me but i sure you that i use this practice from many years and > always work in the past. I've a other distro, an "old" Debian 9 and a > Centos 7 with SSH version 7.4p1 and i'm sure work all well because i > put  

SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
Excuse me but i sure you that i use this practice from many years and always work in the past. I've a other distro, an "old" Debian 9 and a Centos 7 with SSH version 7.4p1 and i'm sure work all well because i put  ClientAliveInterval 15 and after 15 seconds SSH session closed!  However thanks for

Re: SSH timeout logoff don't work!

2022-06-21 Thread Greg Wooledge
On Tue, Jun 21, 2022 at 10:05:43AM +0200, Conti Stefano wrote: > Hello! In My Debian 11 SSH timeout logoff not work! I must put in > .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of > course, but close all bash terminal! > > This is my sshd_config with info for timeout:  > >

: SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
If I put ClientAliveCountMax 1 with ClientAliveInterval 600 timeout is 1200 inmy Debian 11. I have try all combinations but at the moment nothing happen; session stay alive! There is somethng but i don't understand what keep alive the session... --- Begin Message --- Le mardi 21 juin 2022 à

Re: SSH timeout logoff don't work!

2022-06-21 Thread didier gaumet
Le mardi 21 juin 2022 à 10:05 +0200, Conti Stefano a écrit : > Hello! In My Debian 11 SSH timeout logoff not work! I must put in > .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of > course, but close all bash terminal! > > This is my sshd_config with info for timeout:  > >

SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
Hello! In My Debian 11 SSH timeout logoff not work! I must put in .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of course, but close all bash terminal! This is my sshd_config with info for timeout:  TCPKeepAlive no ClientAliveInterval 600 ClientAliveCountMax 0   Any suggest?