rsnt_translations
56,420
edits
No edit summary |
No edit summary |
||
Line 125: | Line 125: | ||
</source> | </source> | ||
= | = Connecting to a program running on a compute node= <!--T:25--> | ||
<!--T:26--> | <!--T:26--> | ||
SSH tunnelling can also be used in the context of Compute Canada to allow a user's computer to connect to a compute node on a cluster through an encrypted tunnel that is routed via the login node of this cluster. This technique allows graphical output of applications like a [[Jupyter | Jupyter Notebook]] or [[Visualization|visualization software]] to be displayed transparently on the user's local workstation even while they are running on a cluster's compute node. When connecting to a database server where the connection is possible | SSH tunnelling can also be used in the context of Compute Canada to allow a user's computer to connect to a compute node on a cluster through an encrypted tunnel that is routed via the login node of this cluster. This technique allows graphical output of applications like a [[Jupyter | Jupyter Notebook]] or [[Visualization|visualization software]] to be displayed transparently on the user's local workstation even while they are running on a cluster's compute node. When connecting to a database server where the connection is only possible through the head node, SSH tunnelling can be used to bind an external port to the database server. | ||
== Example for a job == <!--T:27--> | == Example for a job == <!--T:27--> | ||
Line 153: | Line 153: | ||
</pre> | </pre> | ||
There is NAT on both Graham and Cedar allowing users to access the internet from the compute nodes. On Graham however, access is blocked by default at the firewall. Contact [[Technical support|technical support]] if you need to have a specific port opened, supplying also the IP address or range of addresses which should be allowed to use that port. | |||
<!--T:32--> | |||
== From Linux or MacOS X == | |||
On a Linux or MacOS X system, we recommend using the [https://sshuttle.readthedocs.io sshuttle] Python package. | On a Linux or MacOS X system, we recommend using the [https://sshuttle.readthedocs.io sshuttle] Python package. | ||