When we talk about creating websites on cloud servers with Digital Ocean, these 3 terms were mentioned quite a bit. Therefore, in this article we will discuss the meaning of SSH, SFTP, IP, and ROOT, and provide some tips on how to use them.
The user ROOT is like the default login or admin for the entire server. The IP is an address to connect to your machine remotely, or even to access the website through these numbers. SFTP is a way to manage the files on your server.
When you create a cloud server, you receive SSH access data for the ROOT user. Access data for SSH is a way to connect to your machine through a terminal to send commands and make changes to your server remotely.
I have summarized for you each of these four terms which is one of the first things you will come across when using a cloud hosting server. What do you think of seeing each of these terms in a more technical way now?
learn the meaning of SSH and how to access it
SSH or Secure Shell is a cryptographic network protocol for performing operations between a server and a client. SSH provides a secure channel over an insecure network through a terminal that works with commands.
To access SSH, you need the IP of the server (Internet Protocol), which consists of a unique number similar to a CPF that identifies each computer connected to a network, including websites that are just computers connected 24 hours a day receiving access from people all over the world.
To access a server via SSH you need to enter a terminal on Linux, Mac, Windows 10, or use a specific program for that. As soon as you have entered the terminal or command prompt type:
SSH [email protected]
The root is the root user of the server, it is like the master of the computer you are accessing, he is allowed to do most things on your server. You can enter another username instead of root, if you have one.
For example, anyone using serverpilot or runcloud can type one of these two words, which is usually the default user to access web files (SFTP). The number found after the @ needs to be the IP of your server.
Sometimes if you log in to the SSH server for the first time, it will ask you to change your default password to another one, bringing more security. I usually just type a dot after the root password is generated and received by email at Digital Ocean.
The SFTP stands for Secure File Transfer Protocol and works like SSH in a more secure way than the standard FTP used in some shared hosting. You can use your SSH credentials to log in to SFTP.
To access the files on your server you need to use some program that makes SFTP connection like the famous Cyberduck, OpenSSH, WinSCP, FileZilla and many others.
LIST OF SSH COMMANDS
The list of SSH commands is huge, so I'll try to summarize and probably won't add them all. I hope you have enjoyed this article which explains what SSH, SFTP, IP and ROOT mean in addition to giving an explanation of how to use each one.
CD | Change Directory (local) |
cp | Copy file or folder |
find | Search file or directory |
free | Displays the system's RAM memory |
grep | Search for specific phrase in file |
history | Show last 50 commands used |
locate | Finds files based on their names. |
ls | Lists file names |
man | Shows the manual for a specific command or program |
mkdir | Create a new folder in place |
mv | Move file or folder |
pwd | Shows the full path to the current directory |
rm | Remove a file |
tar | Compresses tar file |
touch | Create a new file in place |
vi / nano | Text editor |
Wget | Allows you to download a specific link file |
zip | Compress zip file |
The shared commands above are often used followed by the file name or location in addition to some additional functions. We recommend researching in detail about each of these commands.
We recommend using help on SSH to see all commands. If you want to know the specific commands of a specific command, just put "-help" after the command.
I hope you enjoyed the article, if you did, share it with friends and leave your comments. Don't forget to subscribe and follow the site for more tips that will help you grow on the web.