I’m guessing that this is how it’s done but I don’t know the command-line or the port to use.
1) What is the command that I can use to secure copy (scp) a directory full of files from VPS-1 directly to VPS-2 using tmux from home?
2) How to permanently connect two VPS to each other so that I can use tmux from home to connect to VPS-1 and still be able to read-write-execute files on VPS-2?
I’m assuming that tinc vpn would be a way for question-2. And for question-1, I figure that I can login VPS-1 from home then send a scp command while inside VPS-1 to VPS-2 to transfer the directory. Are these the simplest and most common ways that many System Administrators would do it?
1) What is the command that I can use to secure copy (scp) a directory full of files from VPS-1 directly to VPS-2 using tmux from home?
2) How to permanently connect two VPS to each other so that I can use tmux from home to connect to VPS-1 and still be able to read-write-execute files on VPS-2?
I’m assuming that tinc vpn would be a way for question-2. And for question-1, I figure that I can login VPS-1 from home then send a scp command while inside VPS-1 to VPS-2 to transfer the directory. Are these the simplest and most common ways that many System Administrators would do it?