Connect to the Server
Reminder, before connecting to the server. You need to ask the admin for a server token.
- Connect to EC2:
Code Block ssh -i <private.key> -L 6445:localhost:6443 username@ssh.diaper-project.com
- -L mean to forward server's port to local, because Kubernetes exposes port 6445, we would like to forward it to localhost:6443.
Username is your NetID. An admin account holder should be able to create the linux account for you.
If permission error
Code Block sudo chmod 600 private.key
- You should see a pop-up looks like this, which means that you have already connected to the server.
...