当前位置:网站首页>利用frp服务器进行内网穿透ssh访问
利用frp服务器进行内网穿透ssh访问
2022-07-31 08:21:00 【CAFEBABE 34】
一、服务器端
服务器需要具有公网ip
- 配置文件frps.ini
[common]
bind_port=8080
- 配置安装组规则——开放8080和8081端口
- 启动服务端

二、客户端
- 配置文件frpc.ini
[common]
server_addr = 公网ip
server_port = 8080 #绑定的端口
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 8081 # ssh请求的地址
三、连接
使用xshll命令连接
ssh [email protected]公网ip:8081

连接成功
服务器端
边栏推荐
- 【黄啊码】MySQL入门—3、我用select ,老板直接赶我坐火车回家去,买的还是站票
- 【小程序项目开发 -- 京东商城】uni-app 商品分类页面(下)
- 0730~Mysql optimization
- MySQL安装常见报错处理大全
- 【Unity】编辑器扩展-03-拓展Inspector视图
- 【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(下) -- 搜索历史
- jupyter notebook初使用
- google搜索技巧——程序员推荐
- The torch distributed training
- [Yellow ah code] Introduction to MySQL - 3. I use select, the boss directly drives me to take the train home, and I still buy a station ticket
猜你喜欢

2019 NeurIPS | Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation

使用PageHelper实现分页查询(详细)

如何在一台机器上(windows)安装两个MYSQL数据库

SQL语句知识大全

【云原生&微服务五】Ribbon负载均衡策略之随机ThreadLocalRandom
![[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Middle)--Search Suggestions](/img/ea/ee1ad50a497478b9d080bb5e4bdfb5.png)
[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Middle)--Search Suggestions

Regarding "computing power", this article is worth reading

vscode输出中文乱码问题

【插值与拟合】

日志导致线程Block的这些坑,你不得不防
随机推荐
jupyter notebook初使用
傅里叶变换,拉普拉斯变换学习记录
How on one machine (Windows) to install two MYSQL database
高并发-高可用-高性能
Regarding "computing power", this article is worth reading
【MySQL功法】第5话 · SQL单表查询
如何在 Linux 上安装 MySQL
MySQL中InnoDB的多版本并发控制(MVCC)的实现
功能强大的国产Api管理工具
二维坐标工具API
Ubuntu安装Mysql5.7
regex bypass
tqdm库的使用
哆啦a梦教你页面的转发与重定向
使用PageHelper实现分页查询(详细)
The Spark run on Yarn Spark application
I advise those juniors and juniors who have just started working: If you want to enter a big factory, you must master these core skills!Complete Learning Route!
C# 正则表达式汇总
哪些字符串会被FastJson解析为null呢
ZCMU--1862: zbj的狼人杀