Open ickc opened 7 months ago
I just tested again using a testing account soukdevtester
(i.e. blank state with no ssh config, etc.) and yields the same thing.
Also, this only fails in interactive mode. If I start a job in vanilla universe (non-interactively), then I can successfully condor_ssh_to_job
into the job. Not only that, I can repeatedly do it (i.e. 2 different processes condor_ssh_to_job
to the same job at the same time). But then unexpectedly, if I quit in 1 such process, the whole job quit prematurely.
I can confirm this. In interactive mode this might be the intended behaviour, but that all ssh sessions for non-interactive jobs get terminated when one is exited is a bug.
If
condor_ssh_to_job
is used to ssh into an interactive job, it will terminates immediately.MWE:
On
vm77
, in the 1st process,Then in a 2nd process,
Then immediately in the 1st process,