当前位置:网站首页>解决无法通过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 边栏推荐
- [roommate learned to use Bi report data processing in the time of King glory in one game]
- Redis入门完整教程:有序集合详解
- 【taichi】用最少的修改将太极的pbf2d(基于位置的流体模拟)改为pbf3d
- Redis introduction complete tutorial: List explanation
- Pagoda 7.9.2 pagoda control panel bypasses mobile phone binding authentication bypasses official authentication
- [crawler] jsonpath for data extraction
- [sword finger offer] questions 1-5
- 【图论】拓扑排序
- A complete tutorial for getting started with redis: redis shell
- 实战模拟│JWT 登录认证
猜你喜欢

A complete tutorial for getting started with redis: transactions and Lua
![[roommate learned to use Bi report data processing in the time of King glory in one game]](/img/06/22dde3fcc0456bd230e1d0cde339ec.png)
[roommate learned to use Bi report data processing in the time of King glory in one game]

Redis introduction complete tutorial: Collection details

Redis入门完整教程:哈希说明

Redis入門完整教程:Pipeline

【图论】拓扑排序

为什么信息图会帮助你的SEO

MariaDB's Galera cluster application scenario -- multi master and multi active databases

QT drawing network topology diagram (connecting database, recursive function, infinite drawing, dragging nodes)

phpcms付费阅读功能支付宝支付
随机推荐
微信公众号解决从自定义菜单进入的缓存问题
Analysis of the self increasing and self decreasing of C language function parameters
MariaDB's Galera cluster application scenario -- multi master and multi active databases
微信小程序显示样式知识点总结
Sword finger offer 68 - I. nearest common ancestor of binary search tree
[Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
Summary of wechat applet display style knowledge points
云服务器设置ssh密钥登录
金融市场,资产管理与投资基金
How to choose a securities company? Is it safe to open an account on your mobile phone
SHP data making 3dfiles white film
Redis入门完整教程:有序集合详解
Qualcomm WLAN framework learning (30) -- components supporting dual sta
A complete tutorial for getting started with redis: redis usage scenarios
Redis入门完整教程:集合详解
MySQL数据库备份与恢复--mysqldump命令
Principle of lazy loading of pictures
ScriptableObject
Redis: redis transactions
[crawler] jsonpath for data extraction