Telnet is a useful tool that has been in development for many decades. You can use it to connect to remote servers for various purposes, such as managing devices remotely via a Telnet server or retrieving results from a web server.
Steps

Open the Terminal application found in the Utilities folder under Applications.
- This application is similar to the Command Prompt on Windows. Since OS X is based on UNIX rather than MS-DOS, the commands differ slightly.
Connect via SSH

For a secure connection, use SSH (Secure Shell).

From the Shell menu, select New Remote Connection...

Enter the host name or IP address. In the field displayed at the bottom of the New Connection window, type the address of the server you want to connect to.
- Note that you must have an account to log in.

Click Connect.

You will be prompted to enter your password. The characters you type will not be displayed for security reasons.

Save the settings. Click the + icon below the Server column.

Enter the host name or IP address of the server in the newly displayed screen.

Click OK.

Enter your ID in the User field, click Connect, and your information will be saved.
Insecure connection

Gõ Command-N. Bạn sẽ mở ra phiên làm việc Terminal mới.

Gõ tên host hoặc địa chỉ IP. Ở bên cạnh con trỏ nhấp nháy, gõ thông tin đăng nhập phù hợp như sau:
telnet server.myplace.net 23
- Chú ý rằng số cổng (port number) có thể sẽ khác. Liên lạc với quản trị viên máy chủ nếu kết nối không được.
Lời khuyên
- Có thể không cần số cổng.
- Để thoát kết nối, giữ CTRL+] rồi gõ 'quit' và nhấn 'enter'.
Cảnh báo
- Unsecured connections can be easily intercepted. Exercise extreme caution when using them.
- Most servers log failed login attempts and incorrect information, so avoid using Telnet for malicious purposes.
