cVirtual Connect From Linux
Publisher: Psychz Networks, October 07,2024
Once your virtual machine (VM) is operational, you can proceed with the following steps to connect and begin your work.
For CLI (Command Line Interface) using SSH (Secure Shell)
Open the Terminal:
- On Linux, you can use the built-in terminal.
Use the SSH Command:
- In the terminal, run the following command:
# ssh username@server_ip_address
- Replace the username with your server's username (e.g., root or another user account).
- Replace server_ip_address with the IP address of your Linux server (e.g., 192.168.1.10).
Enter the Password:
- When prompted, enter the password for the server's user account.
That's it! You should now be connected to your Linux server via SSH.
For GUI (Graphical User Interface) access using VNC
With VNC (Virtual Network Computing), you can access your Linux server's complete graphical desktop environment.
- Install VNC Server on the Server (Ubuntu/Debian)
# sudo apt install tightvncserver
CentOS/Fedora/RHEL
# sudo yum install tightvncserver
- Start the VNC Server: Set a password and start the VNC server.
# vncserver
- Install VNC Viewer on Your Local Machine like TigerVNC or RealVNC Viewer on your local machine.
Ubuntu/Debian
# apt install tigervnc-viewer
- Connect to the VNC Server: Use the VNC viewer to connect to the server's IP address and VNC port (5901, 5902, etc.).
Example connection:
# vncviewer server_ip_address:1
Once you have successfully connected to the server, the graphical user interface (GUI) of the server will be displayed on your local machine. This allows you to interact with the server’s desktop environment just as if you were working directly on the server itself.