Operating System
Linux
Command
- ls: list files
- pwd: display the path of the working directory
- cd: change directory
- mv: move or rename files
- rm: remove or delete the files
GeeksforGeeks – Basic Linux Commands
| [Hostinger – Linux Commands Tutorial](https://www.hostinger.com/tutorials/linux-commands?utm_source=google&utm_medium=cpc&utm_id=20913042668&utm_campaign=Generic-Tutorials-DSA-t2 | NT:Se | LO:Other-ASIA&utm_term=&utm_content=778079304374&gad_source=1&gad_campaignid=20913042668&gbraid=0AAAAADMy-hasXwbMwV0bo-DarcdK_rOCb&gclid=CjwKCAjwtcHPBhADEiwAWo3sJmZOf_f1MVAcd8KqwSWNfqhVa5ir1s5AGOV7ccCejqrY4GgA70L3MBoCS3MQAvD_BwE) |
SSH (Secure Shell)
-
A network protocol that provides a secure way to access a computer (server) over an unsecured network.
-
SSH Client: A program (like OpenSSH or a built-in terminal) that initiates the connection.
-
SSH Server: A background process (daemon) running on the remote machine that listens for incoming connection requests (usually on Port 22).
-
SSH Keys: A pair of long strings of characters. You keep the private key secret on your machine and place the public key on any server you want to access.
-
Use cases
- Remote Command Line
- Secure File Transfer: SFTP (SSH File Transfer Protocol)
- Git Operations.
-
Port Forwarding (Tunneling):
Forwarding traffic from a local port to a remote server, often used to access services behind a firewall or to secure unencrypted traffic.
Used in jumper servers. Instead of exposing all your sensitive database servers or application servers to the public internet, you hide them in a private network. You only allow one machine—the jumper—to be reachable from the outside.