Many of you buy a VPS but don't know how to log in to configure and set up the environment for your website. In this article, I will guide you through several ways to SSH.

I. SSH

1. What is SSH?

SSH stands for Secure Socket Shell, it's a network protocol used to remotely log into a computer for purposes such as data management, environment setup, etc.

2. What information does SSH require?

When you buy a Linux VPS, such as Ubuntu, CentOS ..., you will receive login information through the SSH protocol, including:

  • Server IP
  • Username, usually root
  • User Password
  • Communication port usually port 22

II. Some ways to log in SSH

1. Using commands

For operating systems from Win 8 onwards, Linux, MacOS, you can use the following command.

ssh [email protected]  // root: tên người dùng, 192.168.1.2: là Ip máy chủ

For cases not using port 22, you use the following command.

ssh [email protected] -p 2222   // 2222: là port được chỉ định

After running the above command, you enter the password and you're done.

2. Use SSH support software

For Windows, you can install PuTTY, ZOC Terminal.

For MacOS, you can install ZOC Terminal.

For Linux, you can install OpenSSH.

3. How to use PuTTY

Download PuTTY here: DOWNLOAD PuTTY

After successfully downloading and installing PuTTY, open the software.

Enter server IP and port.

Please note that when you click open, it will automatically create an SSH key, click Yes.

Next, type the username and password.

After entering the correct password and pressing enter, you have successfully SSH.

4. How to use ZOC Terminal

ZOC Terminal supports more than PuTTY and is more secure.

Download ZOC Terminal here: DOWNLOAD ZOC

After successfully downloading and installing ZOC Terminal, open the software.

Enter the server IP and Port in Connect to.

For Connection type, choose Secure Shell.

For Emulation, choose Linux.

Next, fill in the Username and Password, you can choose Save password so you don't have to enter it next time

Finally, click Connect to connect to the Server.

Ngọc Phương

Web Developer

Thank you for visiting my blog. My name is Phuong and I have more than 10 years of experience in website development. I am confident in asserting myself as an expert in creating impressive and effective websites. Anyone in need of website design can contact me via Zalo at 0935040740.

0 feedback