Check SSH connection before sched loop
jaywonchung opened this issue · 0 comments
jaywonchung commented
Before entering the schedule loop, Pegasus should create and connect the SSH session to see if it connects. If not, it should gracefully terminate all previous connections and exit. The connected SSH session object can be moved into the tokio task.