Connecting to a Linux Host
Connecting to a LInux Host via SSH and RDP
Host: The remote computer that you want to access from wherever you are (computer you are connecting to)
Client: The device that you use to connect to your remote host (computer you are connecting from/are using)
SSH
Step 1: Configure SSH on the Host
Ubuntu Host
Enter the following commands in terminal:
- sudo apt install openssh-serverto install openssh server
- sudo systemctl enable sshto enable ssh
- sudo ufw allow sshto allow ssh traffic through firewall
- sudo systemctl status sshto check ssh status

Red Hat Host
Enter the following commands in terminal:
- sudo dnf install openssh-serverto install ssh
- sudo systemctl enable sshdto enable ssh
- sudo systemctl start sshdto start ssh
- sudo firewall-cmd --add-port-22/tcp --permanent and sudo firewall-cmd --reloadto open SSH port
- sudo systemctl status sshdto check if SSH is running
Step 2: Establish The Connection:
From Windows Client: Consult this article for additional information on SSH access: https://ask.eng.umd.edu/internal/131322
From MacOS Client:
From Linux Client:
- Enter ssh -y username@desktop_hostnamein terminal to establish the connection

- You can find the hostname by entering the hostnamecommand in terminal. The full hostname ishostname.eng.umd.edu

RDP (Graphical Connection)
Step 2: Establish the connection:
From a Windows Client
- Open the Remote Desktop Connection app
- Enter the full host name of the host
- To find the host name, enter host namein the terminal, the host domain name ishostname.eng.umd.edu.
 
- To find the host name, enter 
- In the next tab, click Yes and enter your credentials (username and password) to sign in
- 
   
From a macOS Client
- Launch the Windows App for Mac (previously Microsoft Remote Desktop): https://apps.apple.com/us/app/windows-app/id1295203466?mt=12
- Add the host via its hostname 
- On your Mac, choose Apple menu > System Settings, then click General in the sidebar. (You may need to scroll down.) Click About. View your computer’s name to the right of the Name field. The full host name is is computername.eng.umd.edu.
 
- On your Mac, choose Apple menu > System Settings, then click General in the sidebar. (You may need to scroll down.) Click About. View your computer’s name to the right of the Name field. The full host name is is 
- Select the connection and enter the credentials when prompted
- 
    
From a Linux Client
Install Remmina on the Linux Client and connect to the Linux Host with Remmina. Consult the article below for additional information.
