... | @@ -122,12 +122,18 @@ Other distributions: |
... | @@ -122,12 +122,18 @@ Other distributions: |
|
#### From the command line (ssh)
|
|
#### From the command line (ssh)
|
|
If your login user name from your workstation is the same as the username on the HPC cluster, you can use:
|
|
If your login user name from your workstation is the same as the username on the HPC cluster, you can use:
|
|
- ssh res-hpc-lo01
|
|
- ssh res-hpc-lo01
|
|
|
|
|
|
or
|
|
or
|
|
|
|
|
|
- ssh res-hpc-lo02
|
|
- ssh res-hpc-lo02
|
|
|
|
|
|
Otherwise:
|
|
Otherwise:
|
|
- ssh username@res-hpc-lo01
|
|
- ssh username@res-hpc-lo01
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
- ssh username@res-hpc-lo02
|
|
|
|
|
|
You can make your life easier by editing the file:
|
|
You can make your life easier by editing the file:
|
|
```
|
|
```
|
|
vi ~/.ssh/config
|
|
vi ~/.ssh/config
|
... | @@ -135,6 +141,10 @@ Host res-hpc-lo01 |
... | @@ -135,6 +141,10 @@ Host res-hpc-lo01 |
|
Hostname 145.88.76.243
|
|
Hostname 145.88.76.243
|
|
User user-name
|
|
User user-name
|
|
ServerAliveInterval 60
|
|
ServerAliveInterval 60
|
|
|
|
Host res-hpc-lo02
|
|
|
|
Hostname 145.88.76.217
|
|
|
|
User user-name
|
|
|
|
ServerAliveInterval 60
|
|
```
|
|
```
|
|
Where you adapt the *user-name*.
|
|
Where you adapt the *user-name*.
|
|
|
|
|
... | @@ -142,9 +152,17 @@ Where you adapt the *user-name*. |
... | @@ -142,9 +152,17 @@ Where you adapt the *user-name*. |
|
You can show graphical output when you enable X11 forwarding
|
|
You can show graphical output when you enable X11 forwarding
|
|
- ssh -X res-hpc-lo01
|
|
- ssh -X res-hpc-lo01
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
- ssh -X res-hpc-lo02
|
|
|
|
|
|
or
|
|
or
|
|
- ssh -Y res-hpc-lo01
|
|
- ssh -Y res-hpc-lo01
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
- ssh -Y res-hpc-lo02
|
|
|
|
|
|
Once you are logged in, you should be able to run a graphical program, for example:
|
|
Once you are logged in, you should be able to run a graphical program, for example:
|
|
- xterm
|
|
- xterm
|
|
- xclock
|
|
- xclock
|
... | | ... | |