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-server
to install openssh serversudo systemctl enable ssh
to enable sshsudo ufw allow ssh
to allow ssh traffic through firewallsudo systemctl status ssh
to check ssh status
Red Hat Host
Enter the following commands in terminal:
sudo dnf install openssh-server
to install sshsudo systemctl enable sshd
to enable sshsudo systemctl start sshd
to start sshsudo firewall-cmd --add-port-22/tcp --permanent and sudo firewall-cmd --reload
to open SSH portsudo systemctl status sshd
to 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_hostname
in terminal to establish the connection
- You can find the hostname by entering the
hostname
command 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 name
in 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.