当前位置:网站首页>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 边栏推荐
- [ODX studio edit PDX] - 0.2-how to compare two pdx/odx files of compare
- Basic use and upgrade of Android native database
- heatmap. JS picture hotspot heat map plug-in
- 时间 (计算)总工具类 例子: 今年开始时间和今年结束时间等
- ECS settings SSH key login
- Galera cluster of MariaDB - dual active and dual active installation settings
- 云服务器设置ssh密钥登录
- 【二叉树】节点与其祖先之间的最大差值
- 【爬虫】数据提取之JSONpath
- EditPlus--用法--快捷键/配置/背景色/字体大小
猜你喜欢

A complete tutorial for getting started with redis: Pipeline

Explanation of bitwise operators

The initial arrangement of particles in SPH (solved by two pictures)

cout/cerr/clog的区别

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

Redis introduction complete tutorial: client communication protocol

S32 Design Studio for ARM 2.2 快速入门

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

高通WLAN框架学习(30)-- 支持双STA的组件

字体设计符号组合多功能微信小程序源码
随机推荐
ScriptableObject
Redis introduction complete tutorial: client communication protocol
Docker镜像的缓存特性和Dockerfile
Notepad++ -- editing skills
智力考验看成语猜古诗句微信小程序源码
Redis入门完整教程:Pipeline
[sword finger offer] questions 1-5
[crawler] jsonpath for data extraction
Redis入门完整教程:列表讲解
高通WLAN框架学习(30)-- 支持双STA的组件
Talk about Middleware
Redis入門完整教程:Pipeline
机器学习在房屋价格预测上的应用
ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器
Advantages of Alibaba cloud international CDN
【js】-【动态规划】-笔记
Redis入门完整教程:有序集合详解
[Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
Servlet服务器端和客户端中文输出乱码问题
高配笔记本使用CAD搬砖时卡死解决记录