Introduction
In this article, we will discuss how to reboot a connected Virtual Machine (VM) via SSH on an NSX-T Edge Network.
Prerequisites
Before we begin, ensure the following:
- NSX-T Edge Network is already configured.
- You have access to the VM's private IP address.
- SSH is enabled on the VM.
- You have SSH client installed on your local machine.
Procedure
Step 1: Connect to the VM via SSH
Open your SSH client and connect to the VM using the private IP address:
$ ssh user@
Replace user with your username and vm-private-ip with the VM's private IP address.
Step 2: Verify the Connection
Once connected, verify the connection by checking the system information:
$ uname -a
Step 3: Reboot the VM
To reboot the VM, use the following command:
$ sudo shutdown -r now
The -r option is used to reboot the system.
Step 4: Verify the Reboot
After a few moments, the system should reboot. You can verify the reboot by connecting back to the VM via SSH:
$ ssh user@
Summary
In this article, we discussed how to reboot a connected VM via SSH on an NSX-T Edge Network. We covered the prerequisites, procedure, and steps to connect to the VM, verify the connection, reboot the VM, and verify the reboot.