I currently have a process where i login to a machine, need to
ssh to another machine and then run a command for an interactive job (on a queue-ing system). Is there a way to do this all in one shot?
ssh my_machine srun --pty R
I would to do this:
ssh my_machine "srun --pty R"
However this returns some errors:
stty: standard input: Invalid argument srun: error: Not using a pseudo-terminal, disregarding --pty option