Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin终端如何开启隧道
Experiences and Insight
397
views ·
7
replies ·
To
floor
Go
lnhxzwb
deepin
2019-09-04 00:58
Author
本帖最后由 lnhxzwb 于 2019-9-3 17:09 编辑
工作中需要开启终端隧道连接一些服务器,不知道deepin终端如何开启隧道,在windows中xshell是可以直接开启的
Reply
Like 0
Favorite
View the author
All Replies
189******23
deepin
2019-09-04 07:49
#1
啥终端隧道?GRE?VPN?
Reply
Like 0
View the author
wtz
deepin
2019-09-04 15:48
#2
直接ssh可以嘛?
Reply
Like 0
View the author
1***6@qq.com
deepin
2019-09-04 16:44
#3
直接ssh -X不就行了啊。。。
Reply
Like 0
View the author
1***6@qq.com
deepin
2019-09-04 16:46
#4
ssh -X
username@x.x.x.x
-X就是开启转发,
前提你本地要有xserver
Reply
Like 0
View the author
deepinuser17
deepin
2019-09-04 17:06
#5
本帖最后由 deepinuser17 于 2019-9-4 09:09 编辑
如果是连接Windows机器:
创建隧道连接Windows机器:
ssh -fNL 3361::3360 <用户名>@<远端Linux机器A>
xfreerdp --no-nla -a 16 -g 90% /v:localhost:3361
Copy the Code
如果是连接Linux机器B:
创建隧道连接Linux机器B:
ssh -fNL 8822::22 <用户名>@<远端Linux机器A>
ssh <用户名>@localhost -p 8822
Copy the Code
Linux机器B和Windows机器是在远端Linux机器的后面,不可直接连接.通过建立隧道,使用本地的端口连接
Reply
Like 0
View the author
159******10
deepin
2019-09-04 17:24
#6
https://www.xingjiehu.com/2019/06/06/ck03n2y37001kzpom04c2ljvu/
Reply
Like 0
View the author
lnhxzwb
deepin
2019-09-20 19:28
#7
已经知道怎么做了,感谢各位
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
工作中需要开启终端隧道连接一些服务器,不知道deepin终端如何开启隧道,在windows中xshell是可以直接开启的