当前位置:网站首页>XShell连接VMWare虚拟机
XShell连接VMWare虚拟机
2022-06-25 16:33:00 【王小希ww】
XShell连接VMWare虚拟机
用XShell连接VMWare虚拟机,可以方便命令的复制和粘贴,在虚拟机中运行命令不是那么方便
首先用VMWare创建ubuntu18.04 server虚拟机,参考如何在VMware15上安装Ubuntu18.04
完成VMWare NAT,MVNet8适配器的配置,保证虚拟机和主机在同一个网段下,参考xshell5连接linux虚拟机的步骤(NAT模式连接)
关闭防火墙
在虚拟机中开启ssh服务,并设置公钥,参考Ubuntu18.04开启ssh服务,Xshell通过ssh远程连接ubuntu服务器
Note:
systemctl enable ssh命令可能失效,此时系统会建议/lib/systemd/systemd-sysv-install enable ssh
xshell设置协议版本优先级(xshell官网)

如果将协议版本优先级设置为
仅限SSH1(不使用SSH2),则会导致虚拟机的SSH版本为SSH2,XShell始终连不上虚拟机。因此要设置为第一个选项。
边栏推荐
- SDN系统方法 | 10. SDN的未来
- 使用hbuilder X创建uniapp项目
- Kalman filter meets deep learning: papers on Kalman filter and deep learning
- User login 2
- Creating a uniapp project using hbuilder x
- Shuttle pop-up returns to the upper level
- Final, override, polymorphic, abstract, interface
- Difference between app test and web test
- 心樓:華為運動健康的七年築造之旅
- 【效率】又一款笔记神器开源了!
猜你喜欢
随机推荐
2022-06-17 网工进阶(九)IS-IS-原理、NSAP、NET、区域划分、网络类型、开销值
Reverse series to obtain any wechat applet code
Day_ 16 set
Day_ eleven
App测试工具大全,收藏这篇就够了
error Parsing error: Unexpected reserved word ‘await‘.
[proficient in high concurrency] deeply understand the basis of C language and C language under assembly
Unity技术手册 - 干扰/噪音/杂波(Noise)子模块
六大专题全方位优化,阿里巴巴性能优化小册终开源,带你直抵性能极致
绕过技术聊'跨端'......
Navicat Premium 15 for Mac(数据库开发工具)中文版
Collection overview, array encapsulation
Resolve the format conflict between formatted document and eslint
这些老系统代码,是猪写的么?
Read AFN through - from the creation of manager to the completion of data parsing
知道这些面试技巧,让你的测试求职少走弯路
Perfect shuffle problem
Cocoapods installation in 2021
Creating a uniapp project using hbuilder x
File operation, serialization, recursive copy









