...
Prepare the SSH keys (the same ones you registered in sign-up form). If you want to use another key pair for remote access, e-mail the SSH public key file to Administrator(chr@kasi.re.kr).
- (Fig. 5-A) Go to Project → Compute → Instances menu, and find from the instance list :
- private IP address (e.g., 10.0.X.X) of your VM instance
- public IP address (e.g., 210.219.33.X) of project gateway (e.g., User Project Gateway)
Install Remote Desktop Protocol (RDP) client software to your local computer, and set up the remote connection.
- (Fig. 5-B) If RDP clients support SSH tunneling – remmina (Linux), MobaXterm (Windows), configure RDP session as follows:
- Remote host address (10.0.X.X) : VM instance private IP (port 3389)
- Remote host username : user account you created (root is NOT recommended)
- SSH gateway address (210.219.33.X) : project gateway public IP (port 7774)
- SSH gateway username : kasi
If RDP clients do not support tunneling – CoRD (Mac), Microsoft Remote Desktop (Mac), create a SSH tunneling port in your local desktop first, and connect through the local tunneling port.
SSH tunnel should be kept alive during remote access (i.e., do NOT interrupt the ssh command or close the terminal)
Code Block language bash theme Midnight title (Cmd. 5-1) create local RDP port for SSH tunnel linenumbers true ### SSH tunneling : ssh -i {private key} -N -L {local RDP port}:{VM instance private ip}:{RDP port = 3389} {tunneling id = kasi}@{gateway ip} -p {ssh port = 7774} ### Local RDP port is set to 12345 for the following example, but you can use different port number $ ssh -N -L 12345:10.0.100.42:3389 kasi@210.219.33.122 -p 7774 ### Open RDP client (e.g., Microsoft Remote Desktop) and set the server address to localhost:12345, or use command (if supportede.g, CoRD) : $ open rdp://localhost:12345
- (Fig. 5-B) If RDP clients support SSH tunneling – remmina (Linux), MobaXterm (Windows), configure RDP session as follows:
- (Fig. 5-C) Connect to the RDP host. If everthing (e.g., desktop environment, external datastore,...) works fine, you're all set.
...