mirror of
https://github.com/fatedier/frp.git
synced 2026-05-16 00:25:49 -06:00
[GH-ISSUE #239] 【感谢大神做出的贡献】ssh 内网机器求教 #163
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gamelife1314 on GitHub (Jan 21, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/239
我在我的具有公网ip的服务器上搭建了frp server(139.149.218.126【假设】),简单配置如下:
[common]
bind_port = 7000
dashboard_port = 7500
dashboard_user = gamelife
dashboard_pwd = nopassword
[ssh]
listen_port = 6000
auth_token = noauthtoken
启动正常:
我的内网frpc配置如下:
[common]
server_addr = 139.149.218.126
server_port = 7000
auth_token = noauthtoken
[ssh]
local_ip = 192.168.153.130
local_port = 22
use_encryption = true
use_gzip = true
启动正常:
我在其他机器上该如何ssh到我的内网机器(192.168.153.130),假设我的内网机器用户名:root,密码:root???
@fatedier commented on GitHub (Jan 21, 2017):
文档中有说明 通过 ssh 访问公司内网机器
@gamelife1314 commented on GitHub (Jan 22, 2017):
我看了这个但是没配置成功
文档里面是这样写的:
这里的test是frps的用户名还是frpc的,x.x.x.x是谁的IP?我把它改成frpc的连接不上
@fatedier commented on GitHub (Jan 22, 2017):
去掉错误的答案剩下的就是正确的。
@gamelife1314 commented on GitHub (Jan 22, 2017):
我弄好了,初出茅庐,谢谢
ssh -p 6000 local-host-name@pubulic_ip
@endokai commented on GitHub (Jan 22, 2017):
ssh的连接信息当然是ssh的...难道映射了还会顺便改掉ssh的密码不成