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.

  • 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':