How to keep training running after disconnecting through VSCode?

I setup vscode to connect with a pod with this guide: https://blog.runpod.io/how-to-connect-vscode-to-runpod/. I then closed one of my own repo's, and started a training script in the bash terminal. How can i close the remote connection in vscode, but keep training running? At a later point i would like to reconnect through vscode again and check on the progress. I apologise for the extreme noobishness of my question, but i've never worked with ssh or anything remote through vscode. Thanks in advance.
RunPod Blog
How to Connect VSCode To RunPod
While working in a terminal window is sometimes good enough, it's much nicer to work within your IDE if you are doing interactive development. Fortunately, you can connect your VSCode IDE to your RunPod instance via SSH. This will allow you to edit files and code on your remote instance
Solution:
It's useful for something like this, basically terminal inside terminal that keeps the process running
Jump to solution
7 Replies
nerdylive
nerdylive3d ago
No, but you can run using tmux if you want to do disconnect and reconnect to the terminal Try searching tmux, and how it works
Solution
nerdylive
nerdylive3d ago
It's useful for something like this, basically terminal inside terminal that keeps the process running
JCtheMC
JCtheMCOP3d ago
ok, i will look into that, thank you. Basically i just need to know how to train things overnight without staying logged in.
nerdylive
nerdylive3d ago
Yup your welcome, this is what you will need
JCtheMC
JCtheMCOP3d ago
thanks for pointing me in the right direction!
nerdylive
nerdylive3d ago
No problem!
JCtheMC
JCtheMCOP3d ago
For anyone reading this later; i used this to figure out basic tmux stuff: https://pragmaticpineapple.com/gentle-guide-to-get-started-with-tmux/
Gentle Guide to Get Started With tmux
Get right into tmux with a gentle learning curve. We go through managing panes, windows, and sessions in this blog post.

Did you find this page helpful?