fishface Posted April 8, 2020 Share Posted April 8, 2020 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? Quote Link to comment
fishface Posted April 8, 2020 Author Share Posted April 8, 2020 (edited) 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, 2020 by fishface Quote Link to comment
ljm42 Posted April 9, 2020 Share Posted April 9, 2020 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 Quote Link to comment
fishface Posted April 9, 2020 Author Share Posted April 9, 2020 Thanks, I'll do that. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.