{"id":222,"date":"2019-01-29T19:06:08","date_gmt":"2019-01-29T19:06:08","guid":{"rendered":"http:\/\/kevinbk.com\/\/?p=222"},"modified":"2019-01-29T19:06:47","modified_gmt":"2019-01-29T19:06:47","slug":"o-que-significa-ssh-sftp-ip-e-root-como-usar","status":"publish","type":"post","link":"https:\/\/kevinbk.com\/en\/what-does-ssh-sftp-ip-and-root-how-to-use\/","title":{"rendered":"What does SSH, SFTP, IP and ROOT mean? How to use?"},"content":{"rendered":"

When we talk about creating websites on cloud servers with Digital Ocean<\/a>, 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. <\/p>\n\n\n\n\n\n\n\n

The user ROOT<\/strong> it's like the default login or admin<\/strong> of every server. The IP is an address to connect to your machine remotely, or even access the site through these numbers. The SFTP<\/strong> it is a way to manage your server files.<\/p>\n\n\n\n

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.<\/p>\n\n\n\n

\"O<\/figure><\/div>\n\n\n\n

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? <\/p>\n\n\n\n

learn the meaning of SSH and how to access it<\/h2>\n\n\n\n

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. <\/p>\n\n\n\n

To access the SSH<\/strong> you need the IP<\/strong> (Internet Protocol) consisting of a unique number equal to one CPF<\/strong> 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.<\/p>\n\n\n\n

To access a server via SSH you need to log into some terminal<\/strong> Linux, Mac, Windows 10 or use a specific program for that. Once you have entered the terminal or command prompt type:<\/p>\n\n\n\n

 SSH root@185.17.65.884<\/strong><\/pre>\n\n\n\n

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. <\/p>\n\n\n\n

For example, whoever uses the serverpilot<\/strong> or runcloud<\/a><\/strong> 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. <\/p>\n\n\n\n

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.<\/p>\n\n\n\n

\"O<\/figure><\/div>\n\n\n\n

O SFTP<\/strong> means Secure File Transfer Protocol <\/strong>and works like the SSH<\/strong> more securely than the FTP standard used in some shared hosting. You can use your SSH data to login to SFTP. <\/p>\n\n\n\n

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. <\/p>\n\n\n\n

LIST OF SSH COMMANDS<\/h2>\n\n\n\n

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. <\/p>\n\n\n\n
CD<\/strong><\/td>Change Directory (local)<\/td><\/tr>
cp<\/strong><\/td>Copy file or folder<\/td><\/tr>
find<\/strong><\/td>Search file or directory<\/td><\/tr>
free<\/strong><\/td>Displays the system's RAM memory<\/td><\/tr>
grep<\/strong><\/td>Search for specific phrase in file<\/td><\/tr>
history<\/strong><\/td>Show last 50 commands used<\/td><\/tr>
locate<\/strong><\/td>Finds files based on their names.<\/td><\/tr>
ls<\/strong><\/td>Lists file names<\/td><\/tr>
man<\/strong><\/td>Shows the manual for a specific command or program<\/td><\/tr>
mkdir<\/strong><\/td>Create a new folder in place<\/td><\/tr>
mv<\/strong><\/td>Move file or folder<\/td><\/tr>
pwd<\/strong><\/td>Shows the full path to the current directory<\/td><\/tr>
rm<\/strong><\/td>Remove a file<\/td><\/tr>
tar<\/strong><\/td>Compresses tar file<\/td><\/tr>
touch<\/strong><\/td>Create a new file in place<\/td><\/tr>
vi \/ nano<\/strong><\/td>Text editor<\/td><\/tr>
Wget<\/strong><\/td>Allows you to download a specific link file<\/td><\/tr>
zip<\/strong><\/td>Compress zip file<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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. <\/p>\n\n\n\n

We recommend using help in SSH to see all commands. If you want to know the specific commands of a given command, just put \u201d -help\u201d after the command. <\/p>\n\n\n\n

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. <\/p>","protected":false},"excerpt":{"rendered":"

When we talk about creating websites on cloud servers with Digital Ocean, these 3 terms were mentioned a lot. Per<\/p>","protected":false},"author":1,"featured_media":225,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/kevinbk.com\/wp-content\/uploads\/2019\/01\/terminal-ssh.jpg","_links":{"self":[{"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/posts\/222"}],"collection":[{"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":0,"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/media\/225"}],"wp:attachment":[{"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinbk.com\/en\/wp-json\/wp\/v2\/categories?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}