[GH-ISSUE #906] 新版frp取消了privilege_token吗? #718

Closed
opened 2026-05-05 12:27:44 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @citisy on GitHub (Aug 29, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/906

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.21.0

What operating system and processor architecture are you using (go env)?
linux

Configures you used:
frps:
[common]
bind_port = 7000
dashboard_port = 7500
privilege_token = xxx
privilege_mode = true

frpc:
[common]
server_addr = xxx
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 8080
remote_port = 6000

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:
新版的frp是取消了privilege_token这个字段吗,frps设置了token,frpc里面没有设置,也依然可以连接成功。

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @citisy on GitHub (Aug 29, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/906 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.21.0 **What operating system and processor architecture are you using (`go env`)?** linux **Configures you used:** frps: [common] bind_port = 7000 dashboard_port = 7500 privilege_token = xxx privilege_mode = true frpc: [common] server_addr = xxx server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 8080 remote_port = 6000 **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** 新版的frp是取消了privilege_token这个字段吗,frps设置了token,frpc里面没有设置,也依然可以连接成功。 **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@citisy commented on GitHub (Aug 29, 2018):

补充:step:
./frps -c frps.ini
./frpc -c frpc.ini
frpc连接成功信息:
[I] [control.go:246] [21c181dd43d2bc41] login to server success, get run id [xxx], server udp port [0]
[I] [control.go:169] [21c181dd43d2bc41] [ssh] start proxy success

<!-- gh-comment-id:416852255 --> @citisy commented on GitHub (Aug 29, 2018): 补充:step: ./frps -c frps.ini ./frpc -c frpc.ini frpc连接成功信息: [I] [control.go:246] [21c181dd43d2bc41] login to server success, get run id [xxx], server udp port [0] [I] [control.go:169] [21c181dd43d2bc41] [ssh] start proxy success
Author
Owner

@cloverzrg commented on GitHub (Aug 31, 2018):

把 privilege_token 改为 token

<!-- gh-comment-id:417532683 --> @cloverzrg commented on GitHub (Aug 31, 2018): 把 privilege_token 改为 token
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#718
No description provided.