当前位置:网站首页>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-server
Two 、 Install firewall
sudo apt-get install ufw
3、 ... and 、 Account opening firewall
sudo ufw enable
Four 、 Firewall permission 22 The port is open to the outside world
sudo ufw allow 22
边栏推荐
- HMS core machine learning service
- Redis: redis configuration file related configuration and redis persistence
- 高通WLAN框架学习(30)-- 支持双STA的组件
- [sword finger offer] questions 1-5
- 头文件重复定义问题解决“C1014错误“
- ScriptableObject
- Galera cluster of MariaDB - dual active and dual active installation settings
- Application of machine learning in housing price prediction
- 高配笔记本使用CAD搬砖时卡死解决记录
- Redis入门完整教程:API的理解和使用
猜你喜欢
字体设计符号组合多功能微信小程序源码
蓝天NH55系列笔记本内存读写速度奇慢解决过程记录
Excel shortcut keys - always add
Redis: redis transactions
A complete tutorial for getting started with redis: Pipeline
Redis introduction complete tutorial: client communication protocol
Docker镜像的缓存特性和Dockerfile
Explanation of bitwise operators
为什么信息图会帮助你的SEO
A complete tutorial for getting started with redis: redis shell
随机推荐
Redis入门完整教程:列表讲解
【js】-【排序-相关】-笔记
P2181 对角线和P1030 [NOIP2001 普及组] 求先序排列
Analysis of the self increasing and self decreasing of C language function parameters
金融市场,资产管理与投资基金
Stm32 Reverse Introduction to CTF Competition Interpretation
数据库基础知识
C语言快速解决反转链表
PS style JS webpage graffiti board plug-in
mamp下缺少pcntl扩展的解决办法,Fatal error: Call to undefined function pcntl_signal()
CTF竞赛题解之stm32逆向入门
微软禁用IE浏览器后,打开IE浏览器闪退解决办法
微信公众号解决从自定义菜单进入的缓存问题
Redis入门完整教程:初识Redis
Redis introduction complete tutorial: Collection details
UML diagram memory skills
Principle of lazy loading of pictures
Redis入门完整教程:Bitmaps
智力考验看成语猜古诗句微信小程序源码
Network namespace