Logging in with SSH

Generate a public/private key pair by following Generating Key Pair and Registering Public Key, and register the public key via the User Portal.

  1. Start 'Command Prompt' for Windows or 'Terminal' for Mac.
    On Windows, you can also log in using MobaXterm. MobaXterm is a handy toolbox for x11 servers, SSH clients, file transfers, etc.
  2. Connect to the login node using the ssh command.
    $ ssh username@hostname
  3. If a prompt of the form [username@hostname ~] is displayed, the login is successful.

The host names for each system are as follows.

System Name Host Name Note
System A camphor.kudpc.kyoto-u.ac.jp Consists of two login nodes.
System B/Cloud laurel.kudpc.kyoto-u.ac.jp Consists of three login nodes.
System C cinnamon.kudpc.kyoto-u.ac.jp Consists of three login nodes.
System G gardenia.kudpc.kyoto-u.ac.jp Consists of two login nodes.
Application Server app.kudpc.kyoto-u.ac.jp Consists of one server.

  • Log in to the System A with the user ID b59999.
    $ ssh b59999@camphor.kudpc.kyoto-u.ac.jp
    Enter passphrase for key 'id_rsa':
  • Specify the private key and log in to the System B with the user ID b59999.
    $ ssh -i ~/.ssh/id_rsa_kudpc b59999@laurel.kudpc.kyoto-u.ac.jp
    Enter passphrase for key 'id_rsa':

After entering the passphrase correctly, the browser will display a URL and a code to complete multi-factor authentication.
Please open the URL displayed in your browser.

Open this URL in your browser:
https://kcl.kudpc.kyoto-u.ac.jp/.../...?user_code=XXXX-XXXX

If the browser asks for a code, enter: XXXX-XXXX

After approving in the browser, press Enter or OK (no input needed):

Refer to Multi-factor authentication login , and set up multi-factor authentication.
Once multi-factor authentication has been completed successfully, the screen shown below will appear. Click 'Yes'.

SSH-keycloak-en2

The screen shown below will appear. Go back to the SSH screen and press Enter to finish setting up the connection and log in.

After approving in the browser, press Enter or OK (no input needed):

SSH-keycloak-en3