Tips Hướng dẫn cấu hình proxy trên phần mềm PuTTY

TricksMMO

Administrator
Staff member
## Cách định cấu hình proxy trên putty

Putty là một trình giả lập thiết bị đầu cuối nguồn miễn phí và mở cho phép bạn kết nối với các máy tính từ xa qua SSH, Telnet, Rlogin và TCP RAW.Đó là một lựa chọn phổ biến cho công việc quản trị và phát triển từ xa.

Theo mặc định, Putty không hỗ trợ các kết nối proxy.Tuy nhiên, có thể định cấu hình Putty để sử dụng máy chủ proxy bằng cách làm theo các bước sau:

1. Mở putty và nhấp vào tab ** kết nối **.
2. Trong phần ** proxy **, chọn hộp kiểm ** Sử dụng proxy **.
3. Trong menu thả xuống ** proxy **, chọn loại máy chủ proxy bạn đang sử dụng.
4. Nhập địa chỉ IP hoặc tên máy chủ của máy chủ proxy trong trường ** tên máy chủ **.
5. Nhập số cổng của máy chủ proxy vào trường ** cổng **.
6. (Tùy chọn) Nếu máy chủ proxy yêu cầu xác thực, hãy nhập tên người dùng và mật khẩu vào các trường ** người dùng ** và ** Mật khẩu **.
7. Nhấp vào nút ** Mở ** để kết nối với máy chủ từ xa thông qua máy chủ proxy.

Dưới đây là một số mẹo bổ sung để định cấu hình putty với máy chủ proxy:

* Nếu bạn đang sử dụng máy chủ proxy yêu cầu xác thực, bạn có thể lưu tên người dùng và mật khẩu của mình trong putty để bạn không phải nhập chúng mỗi khi bạn kết nối.Để thực hiện việc này, nhấp vào tab ** Phiên ** và sau đó nhấp vào nút ** Lưu **.
* Nếu bạn đang sử dụng máy chủ proxy yêu cầu tên người dùng và mật khẩu, bạn có thể chỉ định tên người dùng và mật khẩu trong tệp cấu hình Putty.Để thực hiện việc này, hãy mở tệp cấu hình Putty (thường được đặt tại `~/.putty/putty.conf`) và thêm các dòng sau:

`` `
ProxyCommand SSH -Q -D <copcent_port> -n <username>@<proxy_server>
Proxyuser <usname>
Proxypassword <mật khẩu>
`` `

* Nếu bạn đang sử dụng máy chủ proxy yêu cầu tên người dùng và mật khẩu, bạn cũng có thể sử dụng tùy chọn `-p` để chỉ định mật khẩu trên dòng lệnh.Ví dụ: lệnh sau sẽ kết nối với máy chủ từ xa thông qua máy chủ proxy bằng cách sử dụng tên người dùng `username` và mật khẩu` password`:

`` `
putty -p <massware> -p <username>@<proxy_server>
`` `

## hashtags

* #putty
* #Ssh
* #Ủy quyền
* #phần cuối
* #administration từ xa
=======================================
## How to Configure Proxy on Putty

Putty is a free and open-source terminal emulator that allows you to connect to remote computers over SSH, Telnet, Rlogin, and raw TCP. It is a popular choice for remote administration and development work.

By default, Putty does not support proxy connections. However, it is possible to configure Putty to use a proxy server by following these steps:

1. Open Putty and click on the **Connection** tab.
2. In the **Proxy** section, select the **Use Proxy** checkbox.
3. In the **Proxy Type** drop-down menu, select the type of proxy server you are using.
4. Enter the IP address or hostname of the proxy server in the **Host Name** field.
5. Enter the port number of the proxy server in the **Port** field.
6. (Optional) If the proxy server requires authentication, enter the username and password in the **Username** and **Password** fields.
7. Click on the **Open** button to connect to the remote server through the proxy server.

Here are some additional tips for configuring Putty with a proxy server:

* If you are using a proxy server that requires authentication, you can save your username and password in Putty so that you do not have to enter them each time you connect. To do this, click on the **Session** tab and then click on the **Save** button.
* If you are using a proxy server that requires a username and password, you can specify the username and password in the Putty configuration file. To do this, open the Putty configuration file (usually located at `~/.putty/putty.conf`) and add the following lines:

```
ProxyCommand ssh -q -D <local_port> -N <username>@<proxy_server>
ProxyUser <username>
ProxyPassword <password>
```

* If you are using a proxy server that requires a username and password, you can also use the `-P` option to specify the password on the command line. For example, the following command would connect to the remote server through the proxy server using the username `username` and the password `password`:

```
putty -P <password> -P <username>@<proxy_server>
```

## Hashtags

* #putty
* #Ssh
* #Proxy
* #terminal
* #Remote-administration
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top