Tips for working on a remote system

Handling sessions and disconnections

To avoid losing your place if disconnected, use something like tmux. This will allow you to have multiple tabs, or windows, with a single ssh connection. In addition, you'll be able to reconnect to this set-up if your connection drops.

Warning: On the consoles, when your reservation ends, all of your processes will be killed, including tmux sessions.

File management

To move files between your machine and the consoles, the simplest method is something like SCP. For a graphical client, one example is FileZilla?, over scp or sftp.

To move files to a node, this is normally a two step process. Local -> Console, Console -> node.

By using a ProxyJump? directive in your local machine's ~/.ssh/config file, you can do this in "1" step, but this is an advanced method. When accessing the node, your ssh client with automatically proxy the connection via the console.

An example file is:

User root

For development on nodes, we recommend using git, and having both your local machine and the console or node pull from the repo.

Last modified 3 months ago Last modified on 02/16/19 22:19:35