Connecting from a MacOS Client¶
SSH without X11 Forwarding¶
This is the standard method. Official X11 support is provided through NoMachine. For normal SSH sessions, use your SSH client as follows:
SSH with X11 Forwarding¶
Requirements¶
For running SSH with X11 Forwarding in MacOS, one needs to have a X server running in MacOS. The official X Server for MacOS is XQuartz. Please ensure you have it running before starting a SSH connection with X11 forwarding.
SSH with X11 Forwarding in MacOS¶
Official X11 Forwarding support is through NoMachine. Please follow the document Interactive Sessions and Remote Desktop Access for more details. However, we provide a small recipe for enabling X11 Forwarding in MacOS.
-
Ensure that XQuartz is installed and running in your MacOS.
-
For enabling client X11 forwarding, add the following to the start of
~/.ssh/configto implicitly add-Xto all ssh connections:
- Alternatively, you can add the option
-Yto thesshcommand. In example:
- For testing that X11 forwarding works, just run
sview. A X11 based slurm view of the cluster should popup in your client session.