April 8, 20206 yr I was running 6.2.4, and running a ssh session as root to run xfs defrag in verbose mode, worked great and the session stayed open for at least 10hrs or more. Today I upgraded to 6.5.3. ssh'd in, kicked of my next defrag and at some point it closed the ssh session, so where is the best place to change the idle time out? sshd_config or is there a shell environment variable set?
April 8, 20206 yr Author First few lines of sshd -T I guess in 6.2.4 it wasn't set. port 22 addressfamily any listenaddress [::]:22 listenaddress 0.0.0.0:22 logingracetime 120 x11displayoffset 10 maxauthtries 6 maxsessions 10 clientaliveinterval 0 clientalivecountmax 3 streamlocalbindmask 0177 permitrootlogin yes ignorerhosts yes Will the following work clientaliveinterval 86400 clientalivecountmax 3 Edited April 8, 20206 yr by fishface
April 9, 20206 yr For long-running commands, you should install 'screen' from the Nerd Pack. You can google "unraid screen" for more details on how people use it, but this is a good start: http://wiki.yobi.be/wiki/Screen_Tips
Archived
This topic is now archived and is closed to further replies.