Re: [Cloud] Screen sessions

2020-06-24 Thread Isaac Johnson
> Using `script /dev/null` is the advice on < https://wikitech.wikimedia.org/wiki/Screen#Troubleshooting>, but I don't know what the security consequences/implications are either. Ahh...thanks for pointing that out. I searched just the Toolforge documentation on Wikitech and so completely missed

Re: [Cloud] Screen sessions

2020-06-23 Thread Kunal Mehta
Hi, On 2020-06-23 07:47, Isaac Johnson wrote: > I'm interested in running some long-ish scripts that loop through the > dump replicas on Toolforge. Eventually, this sort of thing might move to > crontab, but for now it would be nice to run a screen session as we test > / debug the scripts. The

Re: [Cloud] Screen sessions

2020-06-23 Thread Isaac Johnson
Thanks Arturo -- that's what I needed to know. I'll use jsub instead. > When you ssh into the bastion host, make sure you use the "-t" option to ssh. And thanks Roy for the idea, though for the record, that did not fix the issue. Best, Isaac On Tue, Jun 23, 2020 at 10:30 AM Arturo Borrero

Re: [Cloud] Screen sessions

2020-06-23 Thread Arturo Borrero Gonzalez
On 2020-06-23 16:47, Isaac Johnson wrote: > I'm interested in running some long-ish scripts that loop through the dump > replicas on Toolforge. Eventually, this sort of thing might move to crontab, > but > for now it would be nice to run a screen session as we test / debug the > scripts. > The

Re: [Cloud] Screen sessions

2020-06-23 Thread Roy Smith
When you ssh into the bastion host, make sure you use the "-t" option to ssh. That forces a pseudo-terminal to get allocated. I have no clue why that's not the default. > On Jun 23, 2020, at 10:47 AM, Isaac Johnson wrote: > > I'm interested in running some long-ish scripts that loop

[Cloud] Screen sessions

2020-06-23 Thread Isaac Johnson
I'm interested in running some long-ish scripts that loop through the dump replicas on Toolforge. Eventually, this sort of thing might move to crontab, but for now it would be nice to run a screen session as we test / debug the scripts. The problem is that if I run the scripts from my tool account