HOME » Documents » Log In to KUSANAGI 9 with Windows "ssh"

Log In to KUSANAGI 9 with Windows "ssh"

Log In to KUSANAGI 9 with Windows "ssh"

This page explains how to log in to KUSANAGI 9 VM using Windows "ssh".

There are two different ways.

  1. Log in using the "ssh" command
  2. Log in using an "ssh" client

What to Prepare in Advance

You will need to have the following ready in advance.

IP Adress

From the console screen of each cloud, note the external IP address of the target VM.

User Name, Private Key File or Password

Each cloud has a different way of setting up SSH login users (see list below).
Please note the user name and the full path of the private key file or password.

Cloud NameUser NameAuthentication MethodAuthentication Information
AWS (CentOS Stream 8)centosSSH authentication keySpecified at VM creation
AWS (other than CentOS Stream 8)ec2-userSSH authentication keySpecified at VM creation
AzureSpecified at VM creation
(Default is "azureuser")
SSH authentication keySpecified at VM creation
GCPSpecified after VM creationSSH authentication keySpecified at VM creation
Sakura VPS (CentOS Stream 8)rootPasswordSpecified at VM creation
Sakura VPS (CentOS Stream 9)centosPasswordSpecified at VM creation
Sakura CloudrootPasswordSpecified at VM creation
ConoHarootPasswordSpecified at VM creation
Xserver VPSrootPasswordSpecified at VM creation
WebARENA IndigocentosSSH authentication keySpecified at VM creation
WebARENA IndigoProcentosPasswordSpecified at VM creation
WebARENA SuitePRO V4centosPasswordSpecified at VM creation
Oracle CloudopcSSH authentication keySpecified at VM creation
KAGOYA CLOUD VPSrootSSH authentication keySpecified at VM creation
Alibaba Cloudecs-user / root ("ecs-user" is recommended)SSH authentication keySpecified at VM creation
Mirai ServermirairootPasswordAutomatic allocation when creating VM
WinserverrootPasswordAutomatic allocation when creating VM
VagrantvagrantPasswordvagrant

For more information, please refer to the individual cloud settings.

a. Log in using the "ssh" command

Start a terminal such as PoweShell or Windows Terminal and log in with the "ssh" command.
Use the information you collected in advance.

If the authentication method is SSH authentication key:

ssh.exe (user name)@(IP address) -i (full path of the private key file)

If the authentication method is password:

ssh.exe (user name)@(IP address)

You will be asked for a password, then enter the password.

b. Log in using an "ssh" client

RLogin and Tera Term are typical SSH clients.

RLogin

When you start RLogin, the "Server Select" dialog will show the lists of registered servers (or IP addresses), so click "New(N)".

When the "Server New Entry" dialog is displayed, set the IP address you prepared in advance for "Host name (server IP address)" and the user name you prepared in advance for "login username".

If the authentication method is SSH authentication key, click "SSH key(K)" and set the private key file you prepared in advance.

If the authentication method is password, in "Password or Passphrase" set the password you prepared in advance.

When you are sent back to the "Server Select" dialog, select the server you registered and click "OK".

Now you can log in by SSH to the target VM.

Tera Term

When you start Tera Term, a "New connection" dialog will be displayed. Set the IP address you prepared in advance in "Host" and click the "OK" button.

The "SSH Authentication" dialog will be shown, in "User name" set the user name you prepared in advance.

If the authentication method is SSH authentication key, click "Use RSA/DSA/ECDSA/ED25519 key to log in", and in "Private key file" set the full path of the private key file you prepared in advance.

If the authentication method is password, set the password you prepared in advance in "Passphrase".

Then click "OK" to log in to the target VM via SSH.