Difference between revisions of "User:Jan-steiner-c1cc@uni-bonn.de"

From HPC Wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
The first line specifies a custom name for your shortcut.
 
The first line specifies a custom name for your shortcut.
 +
 +
For a connection with X11 forwarding, the SSH connection needs to be started with the <code>-X</code> option:
 +
 +
<pre>$ ssh -X &lt;username&gt;@&lt;cluster-address&gt;</pre>
 +
Alternatively, the <code>-Y</code> option does mostly the same. The difference with <code>-Y</code> however is that the connection is treated as ''trusted'', meaning fewer security checks are performed. This is thus only recommended if an application does not work with <code>-X</code>.

Revision as of 18:05, 3 July 2023

Subpages:

https://hpc-wiki.info/hpc/User:Jan-steiner-c1cc@uni-bonn.de/subpagetest


A simple configuration would be:

Host <identifier> # Choose any meaningful name here
    HostName <cluster-address>
    User <username>

The first line specifies a custom name for your shortcut.

For a connection with X11 forwarding, the SSH connection needs to be started with the -X option:

$ ssh -X <username>@<cluster-address>

Alternatively, the -Y option does mostly the same. The difference with -Y however is that the connection is treated as trusted, meaning fewer security checks are performed. This is thus only recommended if an application does not work with -X.