[GH-ISSUE #1987] stcp sk with special char auth fail #1582

Closed
opened 2026-05-05 13:00:24 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @HinxVietti on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1987

#client a
[stcp-ssh]
type = stcp
sk = user@192.x.x.x
local_ip = 192.168.x.x
local_port = 22

#client b visitor
[stcp-ssh]
type = stcp
role = visitor
server_name = stcp-ssh
sk = user@192.x.x.x
bind_ip = 127.0.x.x
bind_port = xxxx

auth failed while visitor start connect to frps;

#change sk to another plain string like 'abcdef'
sk = qwert

√ connection pass.

Please update docs or make sure config with special chars not effect task running.

Originally created by @HinxVietti on GitHub (Sep 17, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1987 ``` #client a [stcp-ssh] type = stcp sk = user@192.x.x.x local_ip = 192.168.x.x local_port = 22 #client b visitor [stcp-ssh] type = stcp role = visitor server_name = stcp-ssh sk = user@192.x.x.x bind_ip = 127.0.x.x bind_port = xxxx ``` auth failed while visitor start connect to frps; > #change sk to another plain string like 'abcdef' > sk = qwert √ connection pass. Please update docs or make sure config with special chars not effect task running.
gitea-mirror 2026-05-05 13:00:24 -06:00
Author
Owner

@blizard863 commented on GitHub (Sep 17, 2020):

I will try it to test.

<!-- gh-comment-id:693974476 --> @blizard863 commented on GitHub (Sep 17, 2020): I will try it to test.
Author
Owner

@blizard863 commented on GitHub (Sep 18, 2020):

When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ?
Please show me how to reproduce this problem.

<!-- gh-comment-id:694631358 --> @blizard863 commented on GitHub (Sep 18, 2020): When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ? Please show me how to reproduce this problem.
Author
Owner

@HinxVietti commented on GitHub (Sep 20, 2020):

When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ?
Please show me how to reproduce this problem.

老哥是中国的? 请稍待, 我再测试一波. 可是无疑问当时是改了sk之后就可以正常运行了的.

<!-- gh-comment-id:695778456 --> @HinxVietti commented on GitHub (Sep 20, 2020): > When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ? > Please show me how to reproduce this problem. 老哥是中国的? 请稍待, 我再测试一波. 可是无疑问当时是改了sk之后就可以正常运行了的.
Author
Owner

@HinxVietti commented on GitHub (Sep 21, 2020):

When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ?
Please show me how to reproduce this problem.

不好意思, 我的锅, 经过多次尝试和交叉替换配置, 这些特殊字符都是可以正常使用的. 那次可能是偶然原因导致了这个问题

<!-- gh-comment-id:695869771 --> @HinxVietti commented on GitHub (Sep 21, 2020): > When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ? > Please show me how to reproduce this problem. 不好意思, 我的锅, 经过多次尝试和交叉替换配置, 这些特殊字符都是可以正常使用的. 那次可能是偶然原因导致了这个问题
Author
Owner

@blizard863 commented on GitHub (Sep 21, 2020):

When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ?
Please show me how to reproduce this problem.

老哥是中国的? 请稍待, 我再测试一波. 可是无疑问当时是改了sk之后就可以正常运行了的.

恩,中国土著

<!-- gh-comment-id:695875666 --> @blizard863 commented on GitHub (Sep 21, 2020): > > When I use sk = !@#$%^&*() , it also be trully work. And I read the code, it may be your config is wrong ? > > Please show me how to reproduce this problem. > > 老哥是中国的? 请稍待, 我再测试一波. 可是无疑问当时是改了sk之后就可以正常运行了的. 恩,中国土著
Author
Owner

@blizard863 commented on GitHub (Sep 21, 2020):

/solve

<!-- gh-comment-id:695875683 --> @blizard863 commented on GitHub (Sep 21, 2020): /solve
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#1582
No description provided.