2021-05-21 18:39:38 +02:00

1.5 KiB

title, keywords, last_updated, summary, sidebar, permalink
title keywords last_updated summary sidebar permalink
Connecting from a Linux Client Linux, connecting, client, configuration, SSH, X11 23 Oct 2019 This document describes a recommended setup for a Linux client. merlin6_sidebar /merlin6/connect-from-linux.html

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 $username@merlin-l-01.psi.ch
ssh $username@merlin-l-001.psi.ch
ssh $username@merlin-l-002.psi.ch

SSH with X11 Forwarding

Official X11 Forwarding support is through NoMachine. Please follow the document {Job Submission -> Interactive Jobs} and {Accessing Merlin -> NoMachine} for more details. However, we provide a small recipe for enabling X11 Forwarding in Linux.

  • For enabling client X11 forwarding, add the following to the start of ~/.ssh/config to implicitly add -X to all ssh connections:

    ForwardAgent yes
    ForwardX11Trusted yes
    
  • Alternatively, you can add the option -Y to the ssh command. In example:

    ssh -X $username@merlin-l-01.psi.ch
    ssh -X $username@merlin-l-001.psi.ch
    ssh -X $username@merlin-l-002.psi.ch
    
  • For testing that X11 forwarding works, just run xclock. A X11 based clock should popup in your client session:

    xclock