When we talk about creating websites on cloud servers with Digital Ocean, these 3 terms were mentioned a lot. So in this article we will talk about the meaning of SSH, SFTP, IP and ROOT and give some tips on how to use them.
The user ROOT it's like the default login or admin of every server. The IP is an address to connect to your machine remotely, or even access the site through these numbers. The SFTP it is a way to manage your server files.
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 the SSH you need the IP (Internet Protocol) consisting of a unique number equal to one CPF that identify each computer connected to a network, including sites that are no more than 24-hour computers receiving access from people around the world.
To access a server via SSH you need to log into some terminal Linux, Mac, Windows 10 or use a specific program for that. Once 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, whoever uses the serverpilot or runcloud you can type one of these two words that is usually the standard user to access web files (SFTP). The number found after @ must be your server's IP.
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.
O SFTP means Secure File Transfer Protocol and works like the SSH more securely than the FTP standard used in some shared hosting. You can use your SSH data to login 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.