Sub topic 3
SSH and Other Remote Access Methods
Assume you know basic IP addresses, ports, firewalls, and Windows and Linux command lines. Choose a remote-access method based on the task, trust level, and security controls.
SSH: Encrypted Command-Line Access
Secure Shell (SSH) provides encrypted command-line access to a remote computer. It commonly uses TCP port 22. Administrators use it to run commands, manage files, and troubleshoot Linux systems without sending passwords or command data as plain text.
ssh [email protected]SSH can use a password or a cryptographic key. Key-based authentication is usually safer when the private key is protected with a passphrase.
VPN: Secure Access to a Private Network
A virtual private network (VPN) creates an encrypted connection between a device and a private network. After connecting, the technician may reach internal services as though the device were physically on that network. A VPN does not automatically give access to every system. Firewalls and account permissions still apply.
Microsoft Remote Assistance
Microsoft Remote Assistance lets a user invite a technician to view or control a Windows computer. The user normally participates in the session and can end it. This makes it useful for help-desk support when the user is present. It is different from unattended administration because the user helps authorize the session.
RMM Platforms
Remote monitoring and management (RMM) platforms let support teams monitor devices, run scripts, install updates, and provide remote control. RMM agents often run as services and can support unattended access. This power requires strict account controls, logging, patching, and approval procedures.
Third-Party Remote Tools
Screen-sharing and video-conferencing tools help a technician guide a user or view the user's screen. File-transfer tools move diagnostic data or support files. These tools are convenient, but an unknown link or executable can enable unauthorized access. Use an approved product, verify the recipient, and transfer only necessary files.
Securing Remote Access and Choosing a Method
| Need | Suitable method |
|---|---|
| Encrypted Linux command line | SSH |
| Reach several internal services | VPN |
| Assist a present Windows user | Remote Assistance |
| Manage many unattended devices | RMM |
| Guide a user visually | Approved screen sharing |
Use multifactor authentication, encryption, least privilege, strong passwords or protected keys, current software, and session logs. Restrict firewall rules and disable remote access when it is not needed.
Exercise
A technician needs unattended command-line access to one Linux server. Which method is the best fit?
Show answer
SSH, preferably with a protected key and an account limited to the required tasks.