当前位置:网站首页>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 边栏推荐
- Redis getting started complete tutorial: publish and subscribe
- cout/cerr/clog的区别
- C语言快速解决反转链表
- Redis入门完整教程:Redis Shell
- Redis introduction complete tutorial: Collection details
- Editplus-- usage -- shortcut key / configuration / background color / font size
- 可观测|时序数据降采样在Prometheus实践复盘
- Notepad++ -- editing skills
- [crawler] XPath for data extraction
- Servlet+jdbc+mysql simple web exercise
猜你喜欢

Redis入门完整教程:Pipeline

MariaDB的Galera集群-双主双活安装设置

SPH中的粒子初始排列问题(两张图解决)

LabVIEW中比较两个VI

S32 Design Studio for ARM 2.2 快速入门

VIM editor knowledge summary

The difference between debug and release

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

Redis getting started complete tutorial: Key Management

EditPlus--用法--快捷键/配置/背景色/字体大小
随机推荐
Notepad++--编辑的技巧
壁仞科技研究院前沿技术文章精选
The solution to the lack of pcntl extension under MAMP, fatal error: call to undefined function pcntl_ signal()
[Jianzhi offer] 6-10 questions
Redis: redis configuration file related configuration and redis persistence
时间 (计算)总工具类 例子: 今年开始时间和今年结束时间等
金融市场,资产管理与投资基金
The initial arrangement of particles in SPH (solved by two pictures)
A complete tutorial for getting started with redis: hyperloglog
【二叉树】节点与其祖先之间的最大差值
Ffmpeg quick clip
Basic knowledge of database
Redis入门完整教程:键管理
Redis introduction complete tutorial: detailed explanation of ordered collection
法国学者:最优传输理论下对抗攻击可解释性探讨
【爬虫】数据提取之xpath
微软禁用IE浏览器后,打开IE浏览器闪退解决办法
【ODX Studio编辑PDX】-0.3-如何删除/修改Variant变体中继承的(Inherited)元素
UML图记忆技巧
Explanation of bitwise operators