当前位置:网站首页>解决无法通过ssh服务远程连接虚拟机
解决无法通过ssh服务远程连接虚拟机
2022-07-04 23:00:00 【anieoo】
我在通过vscode的ssh服务连接ubuntu的时候,报错:
ssh: connect to host port 22: Connection refused
以下是解决方案:
一、安装openssh-server服务
sudo apt-get install openssh-server二、安装防火墙
sudo apt-get install ufw三、开户防火墙
sudo ufw enable四、防火墙充许22端口对外开放
sudo ufw allow 22 边栏推荐
- 初试为锐捷交换机跨设备型号升级版本(以RG-S2952G-E为例)
- Google Earth engine (GEE) - tasks upgrade enables run all to download all images in task types with one click
- [machine learning] handwritten digit recognition
- Header file duplicate definition problem solving "c1014 error“
- Excel shortcut keys - always add
- Notepad++ -- editing skills
- Galera cluster of MariaDB - dual active and dual active installation settings
- Set up a website with a sense of ceremony, and post it to 1/2 of the public network through the intranet
- A complete tutorial for getting started with redis: redis shell
- A complete tutorial for getting started with redis: hyperloglog
猜你喜欢
随机推荐
Notepad++--编辑的技巧
机器学习在房屋价格预测上的应用
Redis入门完整教程:哈希说明
Redis getting started complete tutorial: hash description
【爬虫】数据提取之xpath
Recommended collection: build a cross cloud data warehouse environment, which is particularly dry!
CTF竞赛题解之stm32逆向入门
MariaDB的Galera集群应用场景--数据库多主多活
Redis getting started complete tutorial: publish and subscribe
colResizable. JS auto adjust table width plug-in
UML图记忆技巧
QT drawing network topology diagram (connecting database, recursive function, infinite drawing, dragging nodes)
Redis入门完整教程:HyperLogLog
Question brushing guide public
微信公众号解决从自定义菜单进入的缓存问题
LabVIEW中比较两个VI
【js】-【排序-相关】-笔记
PICT 生成正交测试用例教程
ScriptableObject
Redis introduction complete tutorial: List explanation









