By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Remote access lets you control a computer, server, or device from anywhere in the world as if you were sitting in front of it. You use it to troubleshoot, manage servers, access files, or run applications without physical presence—critical for remote work, IT support, and cloud computing.
Remote access relies on two roles: - Client: Your local device (laptop, phone) running software to connect.- Server/Host: The remote machine (PC, server, IoT device) running a service to accept connections.
Different protocols handle remote access, each using specific ports: | Protocol | Port | Use Case | Security | |----------|------|----------|----------| | RDP (Remote Desktop Protocol) | 3389 | Windows GUI access | Encrypted (TLS) | | SSH (Secure Shell) | 22 | Command-line access (Linux/Unix) | Encrypted (public-key auth) | | VNC (Virtual Network Computing) | 5900+ | Cross-platform GUI access | Unencrypted by default (use SSH tunnel) | | HTTP/HTTPS | 80/443 | Web-based remote access (e.g., Apache Guacamole) | HTTPS is encrypted |
22
sshd
xrdp
Example (SSH): - Host: ssh [email protected] (client connects to server).- Server: Validates user’s SSH key, opens a shell.- Client: Types commands; server executes them and returns output.
ssh [email protected]
user
Goal: Access a remote Linux server via SSH.
bash sudo apt update && sudo apt install openssh-server -y # Debian/Ubuntu sudo systemctl enable --now ssh # Start and enable SSH
bash ip a # Look for your network interface (e.g., eth0, wlan0)
bash ssh username@host_ip # Replace with your username and IP
ls
top
sudo apt update
Goal: Access a Windows desktop remotely.
Win + R
sysdm.cpl
ipconfig
192.168.1.100
mstsc
rdesktop
telnet host_ip 22
3389
bash sudo ufw allow 22/tcp # Linux (UFW)
/etc/ssh/sshd_config
PermitRootLogin
PasswordAuthentication
bash ssh -L 5900:localhost:5900 user@host_ip # Forward VNC port
localhost:5900
ssh-keygen
ssh-copy-id
PermitRootLogin no
libpam-google-authenticator
-C
ssh -C user@host
autossh
bash autossh -M 0 -N -L 5900:localhost:5900 user@host_ip
netstat -tulnp
Get-NetTCPConnection
ini LogLevel VERBOSE
ssh
scp
sftp
ngrok tcp 22
sudo apt update && sudo apt upgrade -y
sudo systemctl restart nginx
nano ~/homeassistant/config.yaml
sudo systemctl restart home-assistant
You’re trying to SSH into a Linux server but get "Connection refused". What’s the most likely cause? A) The server’s SSH service isn’t running.B) Your firewall is blocking outbound traffic.C) The server’s IP address is dynamic.D) You’re using the wrong username.
Correct Answer: A (The SSH service isn’t running.) Explanation: "Connection refused" means the port (22) isn’t open, usually because the SSH daemon (sshd) isn’t running. Start it with sudo systemctl start ssh.Why the Distractors Are Tempting: - B: Outbound firewall issues would cause a timeout, not "refused".- C: Dynamic IPs cause unreachable hosts, not "refused".- D: Wrong username gives "Permission denied", not "refused".
sudo systemctl start ssh
Which protocol is least secure for remote access if used without additional measures? A) SSH B) RDP C) VNC D) HTTPS
Correct Answer: C (VNC) Explanation: VNC transmits data in plaintext by default. Always use it with an SSH tunnel or VPN.Why the Distractors Are Tempting: - A: SSH is encrypted by default.- B: RDP uses TLS encryption.- D: HTTPS is encrypted (TLS).
You need to access a Windows PC behind a home router from the internet. What’s the first step? A) Enable RDP on the Windows PC.B) Set up port forwarding on the router.C) Install TeamViewer on the PC.D) Use a dynamic DNS service.
Correct Answer: A (Enable RDP on the Windows PC.) Explanation: Before configuring the router, the PC must accept RDP connections. Then, forward port 3389 on the router to the PC’s local IP.Why the Distractors Are Tempting: - B: Port forwarding is needed, but you must enable RDP first.- C: TeamViewer works without port forwarding, but it’s not the first step for RDP.- D: Dynamic DNS is optional (only needed if the IP changes frequently).
ping
telnet
netstat
ssh user@host "command"
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.