If condor_ssh_to_job is used to ssh into an interactive job, it will terminates immediately.
MWE:
On vm77, in the 1st process,
❯ cat example.ini
RequestMemory = 32999
RequestCpus = 16
queue
❯ condor_submit -i example.ini
Submitting job(s).
1 job(s) submitted to cluster 1883.
Waiting for job to start...
Welcome to slot1_1@wn3806190.tier2.hep.manchester.ac.uk!
Then in a 2nd process,
❯ condor_ssh_to_job 1883
Welcome to slot1_1@wn3806190.tier2.hep.manchester.ac.uk!
Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed by remote host.
Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed.
Then immediately in the 1st process,
bash-4.2$ Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed by remote host.
Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed.
If
condor_ssh_to_jobis 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,