Quick Question for SSH connection
Quick question for you guys. I've executed train.py from my remote container via VSCode ssh connection. I don't know why that execution killed or stopped? right after wifi disconnection. Is there anyone help me out? I didn't stop my pod.
8 Replies
I have no idea since I never used execution from vscode
But, is there any error that you can maybe check or the logs from the pod?
I've checked the log but there is only current log. The only thing I can check is Pod uptime which is 7 hours.
![No description](https://cdn.answeroverflow.com/1263856882926227649/image.png)
Try checking on container logs
Upper left beside "system logs"
Next time use screen
To run processes, so you can get back to the virtual terminal that stays on
Google for more info about screen on linux
Solution
i prefer to use tmux
Here is container log, but I might need to do something like sending periodic signal to keep my process alive.
![No description](https://cdn.answeroverflow.com/1263858817184043028/image.png)
That works too, what's the diff
Using tmux session looks simple solution for me. I'll try tmux and test it. Great!
NetworkChuck
YouTube
you need to learn tmux RIGHT NOW!!
Spin up your next project with Linode: https://ntck.co/linode –You get a $100 Credit good for 60 days as a new user!
I just started using Tmux……it’s amazing! If you use a terminal or CLI in any capacity Tmux will 10x your productivity in 10 seconds. From creating multiple panes and windows with ease to leaving your terminal sessions active as...