当前位置:网站首页>Solve the problem that the virtual machine cannot be remotely connected through SSH service
Solve the problem that the virtual machine cannot be remotely connected through SSH service
2022-07-04 23:16:00 【anieoo】
I'm going through vscode Of ssh Service connection ubuntu When , Report errors :
ssh: connect to host port 22: Connection refused
Here's the solution :
One 、 install openssh-server service
sudo apt-get install openssh-serverTwo 、 Install firewall
sudo apt-get install ufw3、 ... and 、 Account opening firewall
sudo ufw enableFour 、 Firewall permission 22 The port is open to the outside world
sudo ufw allow 22 边栏推荐
- [Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
- Photoshop batch adds different numbers to different pictures
- A complete tutorial for getting started with redis: hyperloglog
- P2181 对角线和P1030 [NOIP2001 普及组] 求先序排列
- Basic knowledge of database
- One of the commonly used technical indicators, reading boll Bollinger line indicators
- Redis introduction complete tutorial: Collection details
- Network namespace
- LabVIEW中比较两个VI
- Complete tutorial for getting started with redis: bitmaps
猜你喜欢

CTF竞赛题解之stm32逆向入门

实战模拟│JWT 登录认证

Redis démarrer le tutoriel complet: Pipeline

Redis:Redis消息的发布与订阅(了解)

Redis introduction complete tutorial: detailed explanation of ordered collection

Analysis of the self increasing and self decreasing of C language function parameters

智力考验看成语猜古诗句微信小程序源码

ECCV 2022 | 腾讯优图提出DisCo:拯救小模型在自监督学习中的效果

ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器

A complete tutorial for getting started with redis: getting to know redis for the first time
随机推荐
Redis getting started complete tutorial: Geo
数据库基础知识
Qt个人学习总结
小程序vant tab组件解决文字过多显示不全的问题
Redis入门完整教程:慢查询分析
CTF竞赛题解之stm32逆向入门
HMS core unified scanning service
Redis: redis configuration file related configuration and redis persistence
Google collab trample pit
HMS core machine learning service
C语言快速解决反转链表
How to choose a securities company? Is it safe to open an account on your mobile phone
Editplus-- usage -- shortcut key / configuration / background color / font size
Redis入门完整教程:有序集合详解
Examples of time (calculation) total tools: start time and end time of this year, etc
【js】-【动态规划】-笔记
A complete tutorial for getting started with redis: redis shell
【剑指Offer】6-10题
Analysis of the self increasing and self decreasing of C language function parameters
刷题指南-public