From 0f4758bb1df685c23960c0ab86df900683c10dba Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Fri, 10 Nov 2023 10:18:43 +0100 Subject: [PATCH] cscs-daint use open_app to automatically install and open mfa app * Use same computer-configure for mc and gpu on daint-cscs --- daint.cscs.ch/gpu/computer-setup.yml | 2 +- daint.cscs.ch/mc/computer-configure.yml | 6 ++++-- daint.cscs.ch/mc/computer-setup.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/daint.cscs.ch/gpu/computer-setup.yml b/daint.cscs.ch/gpu/computer-setup.yml index cc18e8e..d9673be 100644 --- a/daint.cscs.ch/gpu/computer-setup.yml +++ b/daint.cscs.ch/gpu/computer-setup.yml @@ -26,7 +26,7 @@ metadata:

Piz Daint supercomputer at CSCS Lugano, Switzerland, hybrid partition.
The CSCS now require MFA to login, please check the MFA CSCS documentation for details on how to set up SSH connection.
- If you are using the AiiDAlab, please use the MFA CSCS plugin to set SSH connection. + If you are using the AiiDAlab, use the MFA CSCS app to set SSH connection.

template_variables: label: diff --git a/daint.cscs.ch/mc/computer-configure.yml b/daint.cscs.ch/mc/computer-configure.yml index 0fc0eca..0fdb931 100644 --- a/daint.cscs.ch/mc/computer-configure.yml +++ b/daint.cscs.ch/mc/computer-configure.yml @@ -1,7 +1,9 @@ --- username: '{{ username }}' -safe_interval: 60 -proxy_command: ssh -q -Y {{ username }}@ela.cscs.ch netcat daint.cscs.ch 22 +safe_interval: 10 +proxy_command: ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22 +key_filename: ~/.ssh/cscs-key +key_policy: AutoAddPolicy metadata: tooltip: |

diff --git a/daint.cscs.ch/mc/computer-setup.yml b/daint.cscs.ch/mc/computer-setup.yml index 12da722..fbf1bb3 100644 --- a/daint.cscs.ch/mc/computer-setup.yml +++ b/daint.cscs.ch/mc/computer-setup.yml @@ -23,7 +23,7 @@ metadata:

Piz Daint supercomputer at CSCS Lugano, Switzerland, hybrid partition.
The CSCS now require MFA to login, please check the MFA CSCS documentation for details on how to set up SSH connection.
- If you are using the AiiDAlab, please use the MFA CSCS plugin to set SSH connection. + If you are using the AiiDAlab, use the MFA CSCS app to set SSH connection.

template_variables: label: