Linux VPS Access Via Public IP
This guide focuses on accessing your Linux VPS via Public IP.
By following these steps, you will learn how to create a new environment, assign a public IP to your VPS, and establish a secure SSH connection using the provided credentials.
Step 1. Click on “New Environment” to create a new environment.
Step 2. For this example, we have selected an Elastic server.
Step 3. You will receive an email about the successful creation of your environment along with the SSH gate, login, and password.
Step 4. No public IP is assigned when you create your environment from “New Environment”. For accessing the VPS via IP, we need to have a public IP. Expand the node section, and click on the plus icon to add a public IP.
Step 5. Turn the slider to “ON” and click on “Apply”.
Step 6. You will receive an email regarding the attachment of the public IP address to your node.
Step 7. You can see the assigned public IP under the Node ID. Copy it to your clipboard.
Step 8. Run the following command on your local terminal
- SSH root@’your_ip_address’
Replace ‘your_ip_address’ with the copied IP address.
Type ‘yes’ to continue the connection.
Enter the password you received in your email when VPS was created.
By following the instructions provided in this guide, you will successfully assign a public IP to your Linux VPS and access it via SSH. This process ensures you can manage your VPS efficiently and securely using its public IP address.