Good point, not sure why I didn't think about that, that's how we ran these
scripts before trying to automate this all.

Thanks!


On Wed, Jan 24, 2018 at 3:33 PM, Stefan Magnus Landrø <
[email protected]> wrote:

> You should never keep a connection up and idle for that long. Kick off
> your command in a screen or similar on the server instead and check back
> for results later. Thais solution will protect you from intermittent
> network drops too.
>
> Stefan
>
> Sendt fra min iPhone
>
> > 24. jan. 2018 kl. 20:55 skrev Daum <[email protected]>:
> >
> > I'm using the Mina SSHD to execute some really long running commands on
> > remote machines.  A command can take anywhere from a few minutes to
> finish
> > to several hours.
> >
> > I currently get "User session has timed out idling after 600000 ms." .
> > I've tried to find where I can set a session timeout + keep alive but
> > haven't been able to find any mention.  Any chance anyone knows where to
> > set that?
> >
> > Thanks,
> > Daum
>

Reply via email to