Linux Remote Access Command Cheat Sheet | LinuxTeck

John Gomez
2 min readApr 10, 2023

--

In Linux, remote access commands are used to access and manage computers and servers remotely. Using these commands, users can transfer files, collaborate with others, and open remote shell sessions securely and reliably.

Command Description

ssh

Secure Shell is a network protocol for secure remote access over an unsecured network. The ssh command is used to establish a secure shell session with a remote host.

scp

Secure Copy is a command-line utility for securely copying files between hosts on a network. It uses ssh protocols to secure data transfer.

sftp

Secure File Transfer Protocol is a protocol for secure file transfer over an unsecured network. The sftp command is used for interactive file transfer between hosts using the ssh protocol.

rsync

Remote Sync is a utility for synchronizing files and directories between hosts on a network. It can be used for remote backups and file replication.

rcp

Remote Copy is a command-line utility for copying files between hosts on a network. It is less secure than ssh or scp and is not recommended for use over an unsecured network.

telnet

Telnet is a network protocol used for remote access to a computer over a network. It is less secure than ssh and is not recommended for use over an unsecured network.

netcat

Netcat is a command-line utility for establishing and managing network connections. It can be used for remote access and file transfer over a network.

sshfs

SSH File System is a file system client based on the ssh protocol. It allows a user to securely mount a remote file system over the network and access it as if it were a local file system.

screen

Screen is a terminal multiplexer that allows multiple terminal sessions to be created within a single terminal window. It can be used for remote access and collaboration.

tmux

Terminal Multiplexer is similar to screen, allowing multiple terminal sessions to be created within a single terminal window. It also allows for remote collaboration and access.

sshpass

A command-line tool for automatically entering SSH passwords, allowing for non-interactive SSH connections.

rlogin

A command-line tool for logging into remote systems. It is similar to SSH, but is less secure as it does not encrypt data during transmission.

Originally published at https://www.linuxteck.com on April 10, 2023.

--

--

John Gomez

John Gomez is a Professional Blogger and Linux consultant. You can find his work at https://www.linuxteck.com